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

authenticate user function added to return id token #358

Merged
merged 14 commits into from
Aug 17, 2022

Conversation

himanshuchawla009
Copy link
Member

@himanshuchawla009 himanshuchawla009 commented Aug 2, 2022

  • Added a new function authenticateUser in every adapter and core package, this function will return the idToken for user which can be verified using Web3Auth's jwks endpoint.

  • Added a sessionTime param in core and in each adapter constructor to session time of idToken. (Default 1 day and max can be 7 days.

@himanshuchawla009 himanshuchawla009 marked this pull request as ready for review August 3, 2022 06:47
@himanshuchawla009 himanshuchawla009 force-pushed the feat/external-wallets-auth branch from 3fc3f09 to e113f9a Compare August 15, 2022 10:14
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 71aae19 into master Aug 17, 2022
@chaitanyapotti chaitanyapotti deleted the feat/external-wallets-auth branch August 17, 2022 08:28
@himanshuchawla009 himanshuchawla009 restored the feat/external-wallets-auth branch August 29, 2022 06:59
@chaitanyapotti chaitanyapotti deleted the feat/external-wallets-auth branch July 6, 2023 04:17
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.

2 participants