Tagged: ,

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

  • Author
  • #6968

    Hi I am on 12.0 and using following but not getting refresh_token as described in documentation. what could be issue?

    curl –request POST –user “myClientID:password” –data “grant_type=password&username=yoges&password=yogesh123&scope=cn” http://openam.example.com:8080/openam/oauth2/access_token



     Scott Heger

    Check your OAuth2 Provider and ensure that the “Issue Refresh Tokens:” option is checked. Keep in mind that per the OAuth 2.0 specification not all grant flows will provide a refresh token, but the one you are using, the “Resource Owner Password Credentials” flow, does.


    thanks it worked .

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?