- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2020 01:29 AM
1) I have created new application in okta .Attached screenshot in below :
2) And i've created OIDC Provider configuration in servicenow instance and configured client id and secret which is copied from Okta.
And enabled "User Provisioning"
And in the OIDC Provider Configuration User Claim "email" is mapped to sys_user field (Email).
I've also created a user, where the Email field contains the value of my Okta user email value. I've also added some roles(include admin,security admin,api access ) to the user.
I have got the access token from Okta but when i send this to inbound table API GET method, i'm getting error message
"error": {
"message": "User Not Authenticated",
"detail": "Required to provide Auth information"
},
"status": "failure"
}
Could you please help me on this issue?
Thanks!
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2020 09:37 AM
can you please show me the user account cuz its working for me here are my setting for user provisiong on application registery.
i would recommend you to delete the user account and configure the following settings and dont forget to use the id_token
here is the data srouce configuration
here is the transform map configuration
thanks
Hammad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2020 11:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2020 05:29 AM
Just so I get this clear. You want to use this for login but it doesn't work. And if you use it with postman it doesn't work either? Or are you using this to reach an endpoint on an instance where you are authentication through okta (OAuth)?
//Göran
Feel free to connect:
LinkedIn
Subscribe to my YouTube Channel
or look at my Book: The Witch Doctor's Guide To ServiceNow

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2020 01:06 PM
Hi,
i implemented the whole process the problem is that the user in servicenow needs to have the same password as okta profile only then it will grant access to that API.
and make sure that user has a rest_service role granted.
please mark this correct and helpful if this helped you in any way.
thanks
hammad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2020 01:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2020 05:33 AM
I think Raghav is on the right track here. you seem to use the access token instead of the id token.
//Göran
Feel free to connect:
LinkedIn
Subscribe to my YouTube Channel
or look at my Book: The Witch Doctor's Guide To ServiceNow