Tagged: ,

This topic has 2 replies, 2 voices, and was last updated 6 years, 10 months ago by yogeshmsharma.

  • Author
  • #6969

    There is no documentation around usages of refresh_token in our dev guide, can we reset refresh_token using REST api? can someone throw more light on usages of refresh_token

     Scott Heger

    For OAuth you need to utilize both the OpenAM dev guide and the official OAuth 2.0 specification documentation (https://tools.ietf.org/html/rfc6749). But to get a new access token from a refresh token you will make a POST to the access_token endpoint, passing in your client_id, client_secret, grant_type of “refresh_token”, and refresh_token with the value of your refresh token. That will return you a new access token and a new refresh token.



    complete URI:

    curl –request POST –user “myClientID:password” –data “grant_type=refresh_token&refresh_token=c4e8377c-27d6-4800-8e7d-603789e4d” http://openamagent.example.com:7020/openam/oauth2/access_token

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

©2022 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?