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 support for Client Credentials flow #2680

Closed
dancrumb opened this issue Oct 15, 2024 · 1 comment · Fixed by #2690
Closed

Add support for Client Credentials flow #2680

dancrumb opened this issue Oct 15, 2024 · 1 comment · Fixed by #2690

Comments

@dancrumb
Copy link

Is your feature request related to a problem? Please describe.

I'd like to be able to authenticate via client credentials in the Altair client

Describe the solution you'd like

Really, I'm looking for an update to the OAuth 2.0 Grant type options to include Client Credentials.

It would take the Client ID, Client Secret and Token URLs, with optional (or required, if you prefer) Scope.

Describe alternatives you've considered

There's no other alternative, beyond me sending my own request via cURL and then using the Bearer token Auth option

Additional context

No. I'm happy to add further context, if needed, but I think this one is probably fairly self explantory.

@imolorhe
Copy link
Collaborator

imolorhe commented Nov 3, 2024

@dancrumb this should be available in v8.0.1. Although this is available now, I wanted to talk about the alternatives. Altair comes with the pre-request feature that allows you execute some logic and update the environment before actually running your GraphQL request. This was the option that was used before we added the authentication options, and is still a valid option to go with if a specific authentication method is not yet supported.

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

Successfully merging a pull request may close this issue.

2 participants