How to disable site/deployment/auth temporarily? (Vercel)
I would like to have a "killswitch" to teporarily disable my site on Vercel. This is just a safety measure if anything goes wrong.
What would be the easiest way to do so? The only thing I found is the "Password protection", but it is not allowed for hobby projects.
It would be fine for me to have a way to disable the whole deployment as well.
Additionally, it would be nice to be able to disable sign in/sign up with NextAuth.js temporarily. Is there something easy one can do? The
What would be the easiest way to do so? The only thing I found is the "Password protection", but it is not allowed for hobby projects.
It would be fine for me to have a way to disable the whole deployment as well.
Additionally, it would be nice to be able to disable sign in/sign up with NextAuth.js temporarily. Is there something easy one can do? The
session callback does not allow return false or null, so even returning false from the signIn callback will still allow users with session to get authenticated.