Skip to content
Discussion options

You must be logged in to vote

I've just stumbled upon this note found in Credentials provider doc:

"The Credentials provider can only be used if JSON Web Tokens are enabled for sessions. Users authenticated with the Credentials provider are not persisted in the database."

Setting jwt strategy solves the problem.

session: {
  strategy: 'jwt',
}

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@balazsorban44
Comment options

@baptisteArno
Comment options

@balazsorban44
Comment options

Answer selected by baptisteArno
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