-
Notifications
You must be signed in to change notification settings - Fork 8
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
Create HCA Login #439
Comments
tagging a few others. @hannes-ucsc @jessebrennan @DailyDreaming |
Using the revoke endpoint in auth0 will revoke all refresh tokens give to that user by auth0 not just the one provide in the request. We should make a complete logout optional. def logout(revoke=False)
""" Logout the user, if revoke is true, all refresh tokens issues
to that user for the hca will be revoked."""
pass We should also make it clear when logging in that a refresh token is not required and should only be used on secure machines. |
depends on #417 |
Can we return an error message from |
As a user of the HCA CLI, I would like to login into the CLI in a intuitive way, so I may use service that require authentication.
Defintion of Done
hca dss login
hca query login
hca login
hca login --refresh-token
to login and generate a refresh token.hca revoke
to revoke the current refresh token.The text was updated successfully, but these errors were encountered: