Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to obtain JWT token for federated identity credentials #486

Open
sunao-uehara opened this issue May 31, 2024 · 0 comments
Open

How to obtain JWT token for federated identity credentials #486

sunao-uehara opened this issue May 31, 2024 · 0 comments
Labels
question Further information is requested

Comments

@sunao-uehara
Copy link

sunao-uehara commented May 31, 2024

I am new to OIDC and MSAL and I am trying to implement Client Credential Flow with federated credential for Service-to-Service authentication in AKS. For my case the Identity Provider is the AKS.
I am wondering if there is example code or doc for this scenario.

I was able to get an access token from MS Identity Platform with client_id and client_secret pretty easily using the func confidential.NewCredFromSecret() and Client.AcquireTokenByCredential(). It is straight forward.
But I am having a trouble to get an assertion(JWT token), issued by IdP, to exchange with access token from MS Identity Platform.

Can anybody help? Can we use this MSAL lib to achieve it?

@bgavrilMS bgavrilMS added the question Further information is requested label Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants