Skip to content

How to cancel user creation? #2264

Answered by balazsorban44
sachinraja asked this question in Help
Discussion options

You must be logged in to vote

Please provide more information. Why would you save anything in localStorage about the user? Please note that this might be a security issue, as localStorage is easily readable by malicious actors.

Anyways, to stop a user being logged in, we provide the following API:

https://next-auth.js.org/configuration/callbacks#sign-in-callback

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@sachinraja
Comment options

@sachinraja
Comment options

Answer selected by sachinraja
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants