How To Configure OpenAM OpenID Connect Node Tree

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ก.ย. 2024
  • In this video explained, How To Configure OpenAM OpenID Connect Node Tree, Provisioning Dynamic Account, and explained OpenID Connect Concept.
    For More Details
    narayanatutori...
    Apache LDAP Directory Installation
    1) • Apache LDAP Directory ...
    OpenAM Installation Articles:
    1)ForgeRock OpenAM Prerequisites Setup:
    narayanatutori...
    2)Forgerock OpenAM Default Configuration Installation:
    narayanatutori...
    3)ForgeRock OpenAM Custom Configuration Installation on Windows:
    narayanatutori...
    OpenAM Installation Videos:
    1)ForgeRock OpenAM Custom Configuration Installation on Windows:
    • OpenAM Installation In...
    2) OpenAM 6.5 Default Installation
    • OpenAM 6.5 Default Ins...
    3) OpenAM Realm Create
    • How to Create Realm in...
    OpenAM Tree Videos
    1)OpenAM Data Store Decision Node Tree
    • OpenAM Datastore Decis...
    2)How to Configure Zero Page Node Tree
    • How to Configure Zero ...
    3)How to Configure Zero Page Node Tree
    • How to Configure Zero ...
    4)How to Configure OpenAM Page Node Tree
    • How to Configure OpenA...
    5)How to Configure OpenAM Retry Limit and Account Lockout Node Tree
    • How to Configure OpenA...
    6)How to Configure OpenAM One Time Password Node Tree
    • How to Configure OpenA...
    7)How to Configure Persistent Cookie Node Tree
    • How to Configure Persi...
    8)How to Configure OpenAM Persistent Cookie - OTP Node -Tree
    • How to Configure OpenA...
    9)How to Configure OpenAM Choice Collector Node
    • How to Configure OpenA...
    10)How to Configure OpenAM LDAP Decision Node Tree
    • How to ConfigureOpenAM...
    11)OpenAM Choice Collector Node Login With OTP or Password
    • OpenAM Choice Collecto...
    12)How to Configure OpenAM Message Node Tree
    • How to Configure OpenA...
    13)How To Configure OpenAM OpenID Connect Node Tree
    • How To Configure OpenA...
    OpenAM IDP Server Authorization URL List
    Node -- OAuth2NodeTest
    ============Client ID============
    MyEmployeeClient
    ============Client Secret============
    Admin1234
    ============Authentication Endpoint URL============
    openam.narayana...
    ============Access Token Endpoint URL============
    openam.narayana...
    ============User Profile Service URL============
    openam.narayana...
    ============OAuth Scope============
    openid profile email
    ============Redirect URL============
    openamclient.na...
    ============Well Know URL============
    openam.narayana...
    ============Account Provider============
    org.forgerock.openam.authentication.modules.common.mapping.DefaultAccountProvider
    ============Account Provider============
    org.forgerock.openam.authentication.modules.common.mapping.DefaultAccountProvider
    ============Account Mapper============
    org.forgerock.openam.authentication.modules.oidc.JwtAttributeMapper
    ============Attribute Mapper============
    org.forgerock.openam.authentication.modules.common.mapping.JsonAttributeMapper
    org.forgerock.openam.authentication.modules.oidc.JwtAttributeMapper
    Attribute Key Attribute Value
    sub uid
    name cn
    given_name givenName
    family_name sn
    email mail
    ============Token Issuer============
    openam.narayana...
    ============OpenID Connect Validation Type============
    Well Known URL
    ============OpenID Connect Validation Value============
    openam.narayana...

ความคิดเห็น • 16

  • @sudhakarreddy8684
    @sudhakarreddy8684 4 ปีที่แล้ว +1

    Nice Explanation bro. Please make a video on gluu server also.

    • @narayanatutorial
      @narayanatutorial  4 ปีที่แล้ว

      Thanks for your comment. Sure I will make a video on gluu server and will be uploaded

  • @Ederdoalmeida
    @Ederdoalmeida 3 ปีที่แล้ว +1

    When requesting JWT, only some session data is returned to me. Is it possible to obtain details of the user (attributes belonging to the resource owner) of ForgeRock's OpenAM using an OAuth 2 access token?

    • @narayanatutorial
      @narayanatutorial  3 ปีที่แล้ว +1

      Eder, thanks for your comment. You can get the user attributes in two different ways
      1. use oidc to get the user attributes
      2. Use access token and call to userinfo end point to get the user attributes

  • @sweetysravs6852
    @sweetysravs6852 3 ปีที่แล้ว +1

    I see OpenId is used to Authenticating the user, where as Oauth is used to authorizing the client to access the Oauth provider information. Is my understand correct? Please advise. Thanks!

    • @narayanatutorial
      @narayanatutorial  3 ปีที่แล้ว +1

      Hi Sweety, no not like that. Openidconnect(oidc) and oauth2 both are same but the difference is oidc is build on oauth2 and id_token is one of jwt token introduced in oidc but not available in oauth2.

    • @sweetysravs6852
      @sweetysravs6852 3 ปีที่แล้ว +1

      @@narayanatutorial Thanks! So Openid and Openid connect(Oidc) are different ?

    • @narayanatutorial
      @narayanatutorial  3 ปีที่แล้ว +1

      Yes, both are different. We can say openid is a scope and oidc is the process like as oauth2

    • @sweetysravs6852
      @sweetysravs6852 3 ปีที่แล้ว

      ​@@narayanatutorial Openid connect issue only id_token whereas Oauth2.0 issue id_token along with access_token n refresh_token. It looks bit confusing to me. Both are independent frameworks? Or shud be used together for client authentication and authorization. Please share any useful link to read more on info.Thanks!

    • @narayanatutorial
      @narayanatutorial  3 ปีที่แล้ว

      Oidc will issue refresh token, access token along with idtoken. But oauth2 provides only access token and refresh token.
      backstage.forgerock.com/docs/am/6.5/oidc1-guide/
      Reference:

  • @abhijitbhilare9458
    @abhijitbhilare9458 3 ปีที่แล้ว +1

    Nice post

    • @narayanatutorial
      @narayanatutorial  3 ปีที่แล้ว

      Thank you Abhijit for your valuable comment

  • @surensingh123
    @surensingh123 3 ปีที่แล้ว

    Thanks for the nice tutorial. I have a question about the OIDC node. I have configured OIDC node to connect to an external IDP , flow works fine but the attribute mapping is not working since th external IDP is sending an attribute like "signicat.national_id" and it seems the JSONMapper is not able handle this (basically the dot(.)).
    {"timestamp":"2021-06-28T10:28:11.718Z","level":"ERROR","thread":"http-nio-8080-exec-10","mdc":{"transactionId":"76c1a3b1-6797-466e-b165-e283b4113849-2129"},"logger":"org.forgerock.openam.authentication.modules.common.mapping.JsonAttributeMapper","message":"defaultAttributeMapper.getAttributes: Could not get the attribute 'signicat.national_id'","context":"default","exception":"org.json.JSONException: JSONObject[\"signicat\"] not found.
    \tat org.json.JSONObject.get(JSONObject.java:498)
    \tat org.json.JSONObject.getJSONObject(JSONObject.java:592)
    Any idea how to overcome this issue ?

    • @narayanatutorial
      @narayanatutorial  3 ปีที่แล้ว

      Thanks Surendra for reaching us. Not sure we need to check

  • @narayanaswamyragi4534
    @narayanaswamyragi4534 4 ปีที่แล้ว +1

    Thank you