-
Notifications
You must be signed in to change notification settings - Fork 575
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
[QUESTION] - how to make username password work with oauth2 #270
Comments
Cool, I will try fix this bug, follows this commit: 00133fa9a6e72407ce2286d33994df3e8d967a7e |
@LyricTian You've added check for username password in POST request of "/login". I was wondering the use of oauth2/example/server/server.go Lines 67 to 74 in 00133fa
Why to include this snippet if we added same logic in POST "/login" |
Following your question above , you can see this snippet: oauth2/example/server/server.go Lines 209 to 218 in 00133fa
Fix the scenario where incorrect username and password are input during mock user login.
|
I tried with the example provided in the library. I am able to login with any credentials (username/password), even with wrong credentials.
How to make it work?
The text was updated successfully, but these errors were encountered: