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
-
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,
user
is null and the callhttps://local.auth.nhost.run/v1/token
results in HTTP 401 with this response body: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