Skip to content
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

Merged
merged 6 commits into from
May 18, 2022
Merged

feat: cognito working example #184

merged 6 commits into from
May 18, 2022

Conversation

rinzler99
Copy link
Contributor

No description provided.

@@ -0,0 +1,23 @@
const webpack = require("webpack");
Copy link
Member

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.
Copy link
Member

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.

Copy link
Contributor Author

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.

Copy link
Member

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",
Copy link
Member

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",
Copy link
Member

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.

@himanshuchawla009
Copy link
Member

himanshuchawla009 commented May 17, 2022

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

Copy link
Member

@himanshuchawla009 himanshuchawla009 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Member

@chaitanyapotti chaitanyapotti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@chaitanyapotti chaitanyapotti merged commit 6dfe936 into master May 18, 2022
@chaitanyapotti chaitanyapotti deleted the feat/cognito-example branch May 18, 2022 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants