Tagged: AM sample
This topic has 2 replies, 3 voices, and was last updated 3 months, 2 weeks ago by Scott Heger.
-
AuthorPosts
-
November 10, 2020 at 4:52 pm #28352
praveenpasi
ParticipantHi,
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,
PraveenNovember 10, 2020 at 7:32 pm #28353Jatinder Singh
ParticipantYou 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 underam-external > openam-samples > jwt-bearer-client
.Hope this helps!
November 12, 2020 at 5:06 pm #28359Scott Heger
ParticipantYou 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.
-
AuthorPosts
You must be logged in to reply to this topic.