-
Notifications
You must be signed in to change notification settings - Fork 275
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
Fixed broken oauth2 login for operator #1217
Conversation
Some integration tests are failing with MinIO @Alevsk |
These tests are failing on master already, I'll investigated why they are failing |
No they are not @Alevsk https://github.com/minio/console/runs/4174881009?check_suite_focus=true - I ran them a few times already. |
You can test locally |
I'm looking at this right now |
d9251b3
to
0a036d5
Compare
This PR includes many fixes and refactors for oauth2 authentication and login endpoints, ie: - Invalid login returns `403` instead of `500` error - Removed the session token from console/operator `user credentials login`, `oauth flow login` and `change-password` api responses - Removed session token from localStorage - Added styles for oauth_callback page and display more descriptive errors for debugging - Success logins returns `204` instead of `200` - Removed unused swagger apis and code from both, operator and console projects - Operator `Oauth2` login flow was not validating anything, now it does Signed-off-by: Lenin Alevski <alevsk.8772@gmail.com>
This PR includes many fixes and refactors for oauth2 authentication and
login endpoints, ie:
403
instead of500
erroruser credentials login
,oauth flow login
andchange-password
api responseserrors for debugging
204
instead of200
projects
Oauth2
login flow was not validating anything, now it doesError on
oauth_callback
page beforeError on
oauth_callback
page nowSigned-off-by: Lenin Alevski alevsk.8772@gmail.com