No OpenID Connect provider for realm Error in OpenAM 13

Tagged: , , ,

This topic contains 3 replies, has 4 voices, and was last updated by  jjung2 1 month, 3 weeks ago.

  • Author
    Posts
  • #23300
     prakhash21 
    Participant

    Hi all,

    I’m getting the below error when trying to get the access token.

    {“error_description”:”No OpenID Connect provider for realm /”,”error”:”not_found”}

    I followed [1] and added the openid scope in the OAuth2Provider.xml as below. Still no luck. Am I doing this wrong? Can you please point me the exact place where I need to do the change?

    <AttributeSchema
    name=”forgerock-oauth2-provider-default-scopes”
    type=”list”
    syntax=”string”
    resourceName=”defaultScopes”
    i18nKey=”a122″>
    <DefaultValues>
    <Value>openid</Value>
    </DefaultValues>
    </AttributeSchema>

    [1] https://bugster.forgerock.org/jira/browse/OPENAM-7243

    Thanks

    • This topic was modified 8 months, 3 weeks ago by  prakhash21. Reason: Added tags
    #23327
     william.hepler 
    Participant

    Did you set this up manually or did you use the UI?

    The wizard does some steps that in the Jira were found could be missed.
    https://backstage.forgerock.com/docs/openam/13.5/admin-guide/#configure-openid-connect-provider

    Can you provide the logs to see if you are getting a similar 500 response?

    #23338
     Andy Cory 
    Participant

    As per a previous thread, updating the service XML descriptor isn’t really the recommended way to change OpenAM configuration if there’s a UI equivalent; be prepared for unpredictable behaviour!

    #25671
     jjung2 
    Participant

    Wanted to mention that this error might be caused by not having run the OpenID Connect wizard as specified in this guide:

    https://backstage.forgerock.com/docs/am/6/oidc1-guide/#configure-openid-connect-provider

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

You must be logged in to reply to this topic.

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