How to get sample source code in forgerock

Tagged: 

This topic has 2 replies, 3 voices, and was last updated 1 week, 5 days ago by Scott Heger.

  • Author
    Posts
  • #28352
     praveenpasi
    Participant

    Hi,
    We are using ForgeRock 6.5 version & evaluating OAuth2 capabilities with JWT authentication using signed JWT’s.
    We are referring https://backstage.forgerock.com/docs/am/6.5/oauth2-guide/#client-auth-jwt for the configuration in ForgeRock.
    This doc mentions that Java-based client is provided to test the JWT token bearer flow by ForgeRock & mentions to refer https://backstage.forgerock.com/knowledge/kb/article/a47487197 to get the sample source code.
    However I am able to access the how to link .Can someone please help on how to get the sample Java client provided to test the JWT bearer flow.

    Thanks,
    Praveen

    #28353
     Jatinder Singh
    Participant

    You need a backstage account to access the linked URL. If you don’t have one, you can sign-up. Once you have the access, clone am-external Git repository. And the sample is available under am-external > openam-samples > jwt-bearer-client.

    Hope this helps!

    #28359
     Scott Heger
    Participant

    You can fully test the JWT bearer flow using tools other than the sample code if you don’t have access to it. You would need a tool that can generate a proper jwt (something like https://kjur.github.io/jsrsasign/tool/tool_jwt.html) and then a REST client like Postman. This is how I tested and validated this flow for one of my customers and it worked like a charm.

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

You must be logged in to reply to this topic.

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