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 option to allow for client id to be sent to the token endpoint for Authorization Code #8069

Open
Jacob-Steentoft opened this issue Feb 26, 2025 · 2 comments

Comments

@Jacob-Steentoft
Copy link

Product

Nitro

Is your feature request related to a problem?

We're currently unable to use Nitro full login flow since we use the Microsoft Identity Platform that requires the client id to be added to the request sent to the token endpoint during the flow.

The following error is sent back when Nitro sends the authorization code to the token endpoint:
{"error":"invalid_request","error_description":"AADSTS900144: The request body must contain the following parameter: 'client_id'. **Redacted**,"error_codes":[900144],**Redacted**,"error_uri":"https://login.microsoftonline.com/error?code=900144"}

The solution you'd like

An option to send the client id as a parameter 'client_id' to the token endpoint during token fetch to support logins using Microsoft Identity Platform.

@PascalSenn
Copy link
Member

hi @Jacob-Steentoft

Which flow are you using?

@Jacob-Steentoft
Copy link
Author

Hi @PascalSenn,

For nitro It's configured for: Type "OAuth 2" with Grant Type "Authorization Code".

We're using the Microsoft Identity authorization code flow for our GraphQL applications

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants