openam oauth client dynamic reg

This topic contains 5 replies, has 2 voices, and was last updated by  pinku 2 months ago.

  • Author
    Posts
  • #23062
     pinku 
    Participant

    Hi,

    I am registering an oauth client as below

    curl -k \
    –request POST \
    http://openam.example.com:8080/openam/oauth2/realms/root/realms/myrealm/connect/register \
    -H ‘accept: application/json’ \
    -H ‘content-type: application/json’ \
    -H ‘authorization: Bearer b23c1993-2724-4829-81f0-3220b770605c’ \
    -d ‘{}’

    I need to set the client expiration and also need to get the issued at time, any idea how to achieve that.
    using AM 6.

    #23073
     pinku 
    Participant

    Any help with this one please ?

    #23139
     william.hepler 
    Participant

    There’s one JRE/RFE around this area, I don’t think this is currently possible:
    https://bugster.forgerock.org/jira/browse/OPENAM-11505

    #23161
     pinku 
    Participant

    Thanks William. Do you know where to set the default for oAuth 2 client lifetime itself so that it does not return 0 for “client_secret_expires_at” when I register the oAuth client dynamically, cant find it myself.

    #23173
     pinku 
    Participant

    anybody, any idea please….

    #23219
     pinku 
    Participant

    Do we know a way to populate client_secret_expires_at while registering oAuth client ?

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

You must be logged in to reply to this topic.

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