netlify-labs / react-netlify-identity

a tiny (4kb) React hook for using Netlify Identity, no UI. SEEKING MAINTAINERS
https://netlify-gotrue-in-react.netlify.com/
156 stars 25 forks source link

How to verify an invited user? #45

Open natatat opened 3 years ago

natatat commented 3 years ago

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

I see this in the documentation:

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 commented 2 years ago

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

cmarabate commented 1 year ago

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?