authjs-nuxt icon indicating copy to clipboard operation
authjs-nuxt copied to clipboard

Neo4j adapter can't seem to work with Credentials provider

Open hubcio2115 opened this issue 1 year ago • 0 comments

Environment

  • Operating System: Darwin
  • Node Version: v20.9.0
  • Nuxt Version: 3.9.1
  • CLI Version: 3.10.0
  • Nitro Version: 2.8.1
  • Package Manager: [email protected]
  • Builder: -
  • User Config: devtools, modules, alias, runtimeConfig
  • Runtime Modules: @hebilicious/[email protected]
  • Build Modules: -

Reproduction

https://github.com/hubcio2115/nuxt-auth-neo4j-adapter-min-reproduction

Describe the bug

Credentials provider with a @auth/neo4j-adapter doesn't work. Doesn't throw any errors, doesn't create new tokens, doesn't create sessions, nothing. The auth-flow just goes back to the origin. JWT callback gets called and gets the user correctly but session doesn't get called at all.

But login with a google-provider works fine.

Sorry this is not more descriptive but at this point I don't have a clue why it doesn't work.

Additional context

No response

Logs

No response

hubcio2115 avatar Jan 14 '24 10:01 hubcio2115