-
-
Notifications
You must be signed in to change notification settings - Fork 402
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
ALMA: auth handling to login to Keycloak #2712
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2712 +/- ##
==========================================
+ Coverage 65.87% 66.05% +0.17%
==========================================
Files 233 233
Lines 17904 17925 +21
==========================================
+ Hits 11794 11840 +46
+ Misses 6110 6085 -25
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@andamian could you provide the review for this one? It looks good to me but I haven't tested and I know nothing about the ALMA login protocol. |
password : str | ||
The user's password | ||
""" | ||
data = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It could probably return here if self._auth_host
is set.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That might be true. If the self._auth_host
is set, that just means that self.get_valid_host()
was called at some point, not that the current user is logged in.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right. Please ignore my comment.
@bsipocz - FYI: this is ready from our perspective. |
Added auth handling to login to Keycloak.
Added auth handling to login to Keycloak.
Fixes #2670