Persistent anonymous user? #3001
Unanswered
stefan-girlich
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
I found the solution in -emailVerificationRequired = true
+emailVerificationRequired = false |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using
signInAnonymous()fromuseSignInAnonymous()to sign in a user anonymously and forward them to a subsequent page (using Next.js, without a full page reload).useSignInAnonymous()correctly returns the signed in anonymoususer.When I refresh this page,
useris null and the callhttps://local.auth.nhost.run/v1/tokenresults in HTTP 401 with this response body:{ "error": "unverified-user", "message":"User is not verified.", "status":401 }I can prevent this by manually assigning and verifying an email address for the anonymous user in the dashboard.
Is there a way to let anonymous users use persistent sessions or disabling verification in general?
Beta Was this translation helpful? Give feedback.
All reactions