
SanathH.59437 (Axcend Automation) asked a question.
how to get role details in the response document using openId connect
I am able to get user details such as firstname , email using the profile(scope) option in response document but how to get "role" details in the response document?

Hello @SanathH.59437 (Axcend Automation),
The roles of users can be retrieved with the following API Call:
GET {{url}}/api/v1/users/{{userId}}/roles
More details on the supported API Calls for roles can be found here: https://developer.okta.com/docs/reference/api/roles/
Another option would be downloading the CSV from the Administrators Section of the Admin Panel by going to Security > Administrators > Download CSV.
Regards,
Natalia
Okta Inc.