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

How to verify an invited user? #45

Open
natatat opened this issue Jun 1, 2021 · 2 comments
Open

How to verify an invited user? #45

natatat opened this issue Jun 1, 2021 · 2 comments

Comments

@natatat
Copy link

natatat commented Jun 1, 2021

such as in the case that the url contains #invite_token=token.

I see this in the documentation:

  • verifyToken()
    • consumes & verifies TokenParam based on the type and tries to retrieve a valid user object
    • devs duty to show password field to afterwards call signupUser(user.email, newPassword)

but can't figure out how to implement this.

when I use

const { param: { token, type }, verifyToken } = useIdentityContext();

token and type are defined as they should be, but calling verifyToken() gives me this error:

Uncaught (in promise) JSONHTTPError: Verify requires a verification type
@arnars
Copy link

arnars commented Feb 28, 2022

Did you find a solve for this? I have the exact same issue.

@cmarabate
Copy link

Same exact issue here. No matter what I try I cannot get the confirmation link that gets sent to me to work. Has anyone found a solution for this?

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

No branches or pull requests

3 participants