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

Is Password Grant supported? #697

Closed
mqf20 opened this issue Jan 16, 2025 · 3 comments
Closed

Is Password Grant supported? #697

mqf20 opened this issue Jan 16, 2025 · 3 comments
Labels
question Further information is requested

Comments

@mqf20
Copy link

mqf20 commented Jan 16, 2025

Thanks for this great library!

Does it support the OAuth2.0 password grant flow?

@mqf20
Copy link
Author

mqf20 commented Jan 17, 2025

To provide some background to my request:

  • I understand that the OAuth 2.0 Password Grant is not recommended and will be removed from OAuth2.1.
  • However, this grant type allows developers to bootstrap OAuth2.0 with custom, third party authentication systems.

@muhlemmer
Copy link
Collaborator

We list supported protocols and grant types here: https://github.com/zitadel/oidc?tab=readme-ov-file#features. And no, it is not supported and we don't intend to support it for the reason you already wrote:

I understand that the OAuth 2.0 Password Grant is not recommended and will be removed from OAuth2.1.

However, this grant type allows developers to bootstrap OAuth2.0 with custom, third party authentication systems.

There are other grant types that allow for this:

  • Client Credentials: very similar to password grant, uses a secret in the client_secret form fields instead.
  • JWT Profile: uses a self-singed token as secret to authenticate.

@muhlemmer muhlemmer closed this as not planned Won't fix, can't repro, duplicate, stale Jan 17, 2025
@muhlemmer muhlemmer added the question Further information is requested label Jan 17, 2025
@mqf20
Copy link
Author

mqf20 commented Jan 17, 2025

Thanks for the explanation

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
Status: Done
Development

No branches or pull requests

2 participants