-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
"password" grant_type for token endpoint #126
Comments
Thanks for reaching out @amrutprabhu. We will not be providing support for the |
I need this grant in my application and I can't understand why it's deprecated. When we build an internal authorization server where we full manage authorized clients we can use this grant safelly and it would be nice to have it by default. I will try to implement it on my own following this guide: https://docs.spring.io/spring-authorization-server/docs/current/reference/html/guides/how-to-ext-grant-type.html |
I think there should be at least a hint when doing the following:
It just says that AuthorizationGrantType.PASSWORD is deprecated. But deprecated and not implemented/unsupported is not the same. |
@hartimcwildfly I agree with you, they should remove that constant. |
Did anyone manage to implement PASSWORD grant type flow? any hints/snippets? |
My use case was to mock Auth0 for integration tests. For this I started to use this spring-authorization-server. In the end I went for a keycloak container which still supports password grant type. |
See How-to: Implement an Extension Authorization Grant Type, which demonstrates how you could implement the |
Expected Behavior
Password grant type is supported
Current Behavior
I see that the password grant type is not supported and throws an error when we make a request with password grant type. I saw there are only two converters. one for authorization code and one for client credentials.
Context
It's not something that is blocking me. Its just that when I worked with spring-security-oauth2 library it worked. But it's not present in this library.
Question
So is it somewhere on the road map to be implemented or waiting for contribution. Or is it not be supported by this library?
The text was updated successfully, but these errors were encountered: