Forum Discussion
APM: OAUTH2 JWT Token with groups claim
Hi Daniel, I am looking for something similar as well that F5 should provide JWT wherin we have the claims (attributes) values. I ma new to this but I used the guided config and setup F5 as the authorization server, with Postman I can succesfully retrieve the access token and refresh token. I configured the claims in the application on the F5.
How do I actually retreive those values from F5, do I have to provide the access token to F5 as authorization header to be able to retreive this information or should it already be included shile receiving the access token? How to verify this with Postman (I am lacking oauth test APP). Could you eleborate on this and what about this RFE is this fixed now? Thanks a lot
Hi Marvin,
you can retrieve the claims in the JWT access token.
You need to add token_content_type=jwt to the request and enable JWT in OAUTH profile and Client ID
Example:
https://sso.test.com/f5-oauth2/v1/authorize?redirect_uri=https://localhost&response_type=code&client_id=xyz&token_content_type=jwt
- MarvinApr 08, 2020Cirrocumulus
Hi Daniel, ok thanks that makes sense so you just use GET method not POST? I just tested and F5 replies to the redirect URL with the Access token appended but I dont see any claims info. Inside the oauth profile and client application JWT checkbox is enabled, any thoughts left?
- MarvinApr 08, 2020Cirrocumulus
In de access profile logs I see that session.assigned.oauth.authz.token.claim are being set with correct values so information is being collected
- MarvinApr 08, 2020Cirrocumulus
Also see .session.oauth.authz.jwt_token being set
- MarvinApr 08, 2020Cirrocumulus
I confirm that when using token_content_type=jwt the claim variables are being set with right values except for the fact that its not responding with the JWT and claims information. The only thing is that its being redirected with parameter ?code=xxxxxxx
- MarvinApr 08, 2020Cirrocumulus
I use version 13.1.3
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com