How do I get access token details from User ID?

This topic contains 1 reply, has 2 voices, and was last updated by Profile photo of Peter Major Peter Major 4 days, 16 hours ago.

  • Author
    Posts
  • #16359
    Profile photo of mlawley 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
    Profile photo of Peter Major 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 4 days, 16 hours ago by Profile photo of Peter Major Peter Major.
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

©2017 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 username and password

Lost your password?

Forgot your details?