How do I get access token details from User ID?

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Major 10 months ago.

  • Author
    Posts
  • #16359
     mlawley 
    Participant

    I am looking at integration of a customer care system with OpenAM. We have applications that use oauth/OIDC and we want staff to be able to revoke access tokens or refresh tokens through the customer care system.

    The customer care system will only know the user details, e.g. user ID, name, mail etc. How can I get from OpenAM a list of tokens associated with a specific user ID?

    #16400
     Peter Major 
    Moderator

    Admin accounts can query the tokens corresponding to the users:

    curl -H "iplanetdirectorypro: AQIC5w...*" http://openam.example.com:8080/openam/frrest/oauth2/token?_queryId=userName=hello,tokenName=access_token,realm=/

    • This reply was modified 10 months ago by  Peter Major.
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

©2018 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?