Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels