OpenIG not returning access token

This topic has 1 reply, 2 voices, and was last updated 4 years, 4 months ago by handat.

  • Author
    Posts
  • #21204
     Nav
    Participant

    Hi Everyone,

    I have integrated OpenIG 4.0(OIDC Relying Party) with OpenAM 13.0(OpenID ProvideR) with the instructions in the below document.
    https://backstage.forgerock.com/docs/ig/5.5/gateway-guide/index.html#chap-oauth2-client

    I have been able to access a protected resource and print all the headers set in “attributes.openid” which is forwarded as HTTPHeader from OpenIG. All I see is
    1) id_token extracted “attributes.openid.id_token” from which is encoded JWT Token that has all the information about the claims(basic profile info) that are specified in scope(openid, email).
    2) access_token extracted from “attributes.openid.access_token” which seems like a random opaque value.

    How do I get the access_token which is JWT format with scopes and claims bundled in it?

    Thanks,
    Nav

    #21205
     handat
    Participant

    You would need to configure the access token to be stateless in order for it to be in JWT format. Not sure if that option is available in 13.0, but it is available in 13.5 and newer.

Viewing 2 posts - 1 through 2 (of 2 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?