# Issue using Oauth2

**URL:** <https://developer.sailpoint.com/discuss/t/issue-using-oauth2/146105>\
**Category:** IIQ Discussion and Questions\
**Tags:** apis, identityiq\
**Created:** [June 19, 2025, 4:14pm UTC](https://developer.sailpoint.com/discuss/t/issue-using-oauth2/146105 "2025-06-19T16:14:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![pablomartin](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/pablomartin/32/25670_2.png) [@pablomartin](https://developer.sailpoint.com/discuss/u/pablomartin)\
**Post date:** [June 19, 2025, 4:14pm UTC](https://developer.sailpoint.com/discuss/t/issue-using-oauth2/146105/1 "2025-06-19T16:14:24Z")

</div>

I am currently using: Sailpoint IdentityIQ 8.3

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/6/6/66a666477be7ffa0b651a5298329fc4354e31a30.png)

I am facing problems while trying to obtain an authentication token, I have tried setting the following parameters in settings:

- **Access Token Authentication Scope** : access\_as\_user
- **Access Token Authentication Audience** : /iiq/api
- **Access Token Authentication Issuers** : [https://iiq.company.com/identityiq/oauth2](https://iiq.company.com/identityiq/oauth2)
- **Correlation Variable** : client\_id

> curl --location -k ‘[https://iiq.company.com/identityiq/oauth2/token](https://iiq.company.com/identityiq/oauth2/token)’  
> –header ‘Content-Type: application/x-www-form-urlencoded’  
> –header ‘Accept: application/json’  
> –header ‘Authorization: Basic client\_id:client\_secret’

Above you can see the call I am trying to do and I am getting either a HTTP CODE 405 or a timeout.

The main goal here is to develop a plugin exposing some API calls to integrate IIQ with a ticketing application, so my organization has decided to authenticate using Oauth2.0 in order to use these API.

Scim API is discarded because it isn’t possible to limit the scope as you could in a plugin.

If someone has ever used this kind of authentication with similar purposes I’d be happy to know how it can be done properly.

Thanks a lot.

---

<div class="post-metadata">

**Author:** ![vishal\_kejriwal1](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/vishal_kejriwal1/32/10904_2.png) [@vishal\_kejriwal1](https://developer.sailpoint.com/discuss/u/vishal_kejriwal1)\
**Post date:** [June 19, 2025, 5:09pm UTC](https://developer.sailpoint.com/discuss/t/issue-using-oauth2/146105/2 "2025-06-19T17:09:25Z")

</div>

I haven’t tried this but we use OAuth Client Management for exposing the API’s using plugin , or you can even use ootb SCIM API’s.

---

<div class="post-metadata">

**Author:** ![pablomartin](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/pablomartin/32/25670_2.png) [@pablomartin](https://developer.sailpoint.com/discuss/u/pablomartin)\
**Post date:** [June 20, 2025, 9:03am UTC](https://developer.sailpoint.com/discuss/t/issue-using-oauth2/146105/3 "2025-06-20T09:03:03Z")

</div>

As I said in the post we can’t use SCIM API so we decided to build a plugin instead, but the doubt here is how OAuth Client Management should be configured, if you have done that before, which settings do you use in Identity Authentication Token Settings?

Thank you for your response.

---

<div class="post-metadata">

**Author:** ![rahulb635](https://avatars.discourse-cdn.com/v4/letter/r/db5fbb/32.png) [@rahulb635](https://developer.sailpoint.com/discuss/u/rahulb635)\
**Post date:** [June 23, 2025, 6:24am UTC](https://developer.sailpoint.com/discuss/t/issue-using-oauth2/146105/4 "2025-06-23T06:24:30Z")

</div>

Have you tested in postman first whetehr it is returning correct?

---

<div class="post-metadata">

**Author:** ![pablomartin](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/pablomartin/32/25670_2.png) [@pablomartin](https://developer.sailpoint.com/discuss/u/pablomartin)\
**Post date:** [June 23, 2025, 8:25am UTC](https://developer.sailpoint.com/discuss/t/issue-using-oauth2/146105/5 "2025-06-23T08:25:54Z")

</div>

I can’t try it in Postman because my organization doesn’t allow Postman Desktop and our IIQ isn’t public.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [August 22, 2025, 8:26am UTC](https://developer.sailpoint.com/discuss/t/issue-using-oauth2/146105/6 "2025-08-22T08:26:48Z")

</div>

Closed on August 22, 2025, 8:26am UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
