Tagged: AM sample
November 10, 2020 at 4:52 pm #28352praveenpasiParticipant
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.
PraveenNovember 10, 2020 at 7:32 pm #28353Jatinder SinghParticipant
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-externalGit repository. And the sample is available under
am-external > openam-samples > jwt-bearer-client.
Hope this helps!November 12, 2020 at 5:06 pm #28359Scott HegerParticipant
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.
You must be logged in to reply to this topic.