You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It comes with the constraint that users authenticated in this manner are not persisted in the database, and consequently that the Credentials provider can only be used if JSON Web Tokens are enabled for sessions.
Environment
Reproduction URL
https://github.com/KoljaL/SK-AuthJS
Describe the issue
In my repo I use the authentication via Github and want to extend via the Credentials provider.
I added this: https://next-auth.js.org/providers/credentials#example---username--password in the
hooks.server.ts
After submit I'm not logged in.
The cookies were set, but
$page.data.session
is still empty.How to reproduce
Clone the repo and run
bash resetdb.sh
Expected behavior
After the Login, I expect, that I am logged in as user
J Smith
.The text was updated successfully, but these errors were encountered: