Skip to Main Content

Security Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OAM OAuth 12.2.1.3 - How to retrive custom attributes during token generation

Alvaro UNov 15 2019 — edited Nov 21 2019

Hi

We are trying to replace current Tomcat OAuth architecture with OAM OAuth on 12.2.1.3 with latest BP, we were able to implement custom attribute (callbackUrl) as part of the client creation and we are able to retrieve the attributes during token validation, however we need to retrieve the attributes during token creation so the client will get the API URL (callbackUrl) to be called after token generation. We followed Doc ID 2417689.1 and blog https://blogs.oracle.com/oim11gr2/custom-attributes-in-access-token

Token is being generated using PASSWORD grant type

This is the response we get after getting the token and on this response is where we need the attribute callbackUrl to be present:

pastedImage_2.png

And this is the response during validation

pastedImage_0.png

Any ideas how can we get the custom attribute callbackUrl as part of the token generation?

Comments

Post Details

Added on Nov 15 2019
1 comment
132 views