How to get sample source code in forgerock


This topic has 2 replies, 3 voices, and was last updated 3 months, 2 weeks ago by Scott Heger.

  • Author
  • #28352

    We are using ForgeRock 6.5 version & evaluating OAuth2 capabilities with JWT authentication using signed JWT’s.
    We are referring 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 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.


     Jatinder Singh

    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!

     Scott Heger

    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 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.

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