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

Add an example to the quickstart for acquiring a token using the client credentials grant with federated credentials #1340

Open
colinrippeyfinarne opened this issue May 6, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@colinrippeyfinarne
Copy link

I am trying to test out as much of a standalone scenario of acquiring a token from a federated credential using the low level client credentials grant as documented here:

https://learn.microsoft.com/en-us/entra/identity-platform/v2-oauth2-client-creds-grant-flow#third-case-access-token-request-with-a-federated-credential

I have used the quickstart documentation to get my discovery document and JWKS generated and uploaded to an Azure storage account using the manual steps and the azwi tool.

I want to next use the client credentials grant flow to test if my token gets returned by executing some very basic steps, It would be great if the docs had an example of doing the following:

  1. generate the keys using openssl
  2. generate the ssl cert from the keys that is used in the client assertion
  3. generate the client assertion (this is the key step I think how to make sure this "maps" to the correct entry in the JWKS doc)
  4. call the Entra ID token endpoint using the client credentials grant flow

I think the issue I am running into is I am unclear how to construct the JWKS document so that it will match the contents of the client assertion I need to post to the Entra ID token endpoint.

@colinrippeyfinarne colinrippeyfinarne added the enhancement New feature or request label May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant