BFF, Access Token & Custom Claims #241
Unanswered
buzzripper
asked this question in
BFF
Replies: 1 comment 1 reply
-
Hi Buzzripper, Sorry, you can't use the BFF for that. The bff only requests access token from your IDP, then forwards them on to your target api's. You can use the BFF to add additional claims to the currently logged in user (when using local api's) but not when calling remote api's. If you're using entra ID as your IDP, I suggest looking at this guide to see how you can add additional claims to access tokens: https://learn.microsoft.com/en-us/entra/identity-platform/optional-claims?tabs=appui |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Can the BFF framework do anything to help me add custom claims to the access tokens? I realize that's not its main mission, but looking to see if it has anything related to access tokens. I'm planning on using Azure Entra ID External for my IdP, but looking for a way to augment the access token without resorting to Entra's "token issuance event", which seems to be quite complex.
I'm still in the planning stages, so I'm to any and all ideas. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions