-
Notifications
You must be signed in to change notification settings - Fork 235
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
feat: cognito working example #184
Conversation
@@ -0,0 +1,23 @@ | |||
const webpack = require("webpack"); |
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.
remove this file
|
||
- Now your google login provider is configured, you can enable it in your App client settings in aws console. | ||
|
||
- Now go to your hosted app domain , it should show you hosted ui with google login button. |
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.
implementation is different from readme, we are not using cognito hosted UI right, we are using custom ui. Please update the steps in readme accordingly.
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 are using hosted UI for aws cognito not for web3auth, i think this is right.
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.
can you add the screenshot of hosted ui.
name: "Custom cognito Login", | ||
verifier: "cognito-demo", | ||
typeOfLogin: "jwt", | ||
clientId: "29343gi24opt30vsa5s7u8gfvg", |
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.
add code comment here about client id.
extraLoginOptions: { | ||
domain: "https://web3auth.auth.us-west-2.amazoncognito.com/oauth2", | ||
verifierIdField: "email", | ||
response_type: "token", |
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.
add code comment about each variable here.
there is some flicker while login, don't show logged in view on clicking of login button as shown in video, fix it plz @rinzler99 Screen.Recording.2022-05-17.at.2.56.36.PM.mov |
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
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
No description provided.