I am trying to implement a two step authorization. i.e. use Google/Facebook/name-your-method authentication and then check the associated email is verified and is in a white list database of authorized emails. It is my understanding that this can be done with NextAuth using the signIn call back.
For sk-auth, the documentation states:
SvelteKitAuth provides some callbacks, similar to NextAuth.js. Their call signatures are:
I am trying to implement a two step authorization. i.e. use Google/Facebook/name-your-method authentication and then check the associated email is verified and is in a white list database of authorized emails. It is my understanding that this can be done with NextAuth using the
signIn
call back.For sk-auth, the documentation states:
NextAuth has the following interface for
signIn
:Even when I put a
signIn()
call back, it is never called. Looking for all appearances ofsignIn
in the source code gives this:Thus it seems
signIn
is never called. Is that an upcoming upgrade, or is there another method to do what I want to do?