-
Notifications
You must be signed in to change notification settings - Fork 1
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
feature(auth): add SRP authentication #25
Conversation
ec3f21b
to
a4aced1
Compare
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.
just a quick review, i can test later with you as well. Just minor comments.
@@ -28,9 +29,14 @@ const cli = () => { | |||
|
|||
break; | |||
case 'login': | |||
logger.info('@NOTE: Only user password auth is supported ATM.'); |
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.
thoughts of doing another prompt here - or providing option of which type of login ?
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.
hmmm I'm okay just leaving as is since we're only going to have two types.
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.
we could tackle this on a different ticket?
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.
Lgtm
* update prompt and Winston versions * update logger import * update read me * moved addSecretHashToParams to hash util
# [1.4.0](v1.3.0...v1.4.0) (2021-01-08) ### Features * **auth:** add SRP authentication ([#25](#25)) ([9f5aedc](9f5aedc))
Description:
How to test locally
npm run cognito srp-login
and login with your username and password