Is there a way to use Credentials Provider to integrate with existing backend? #5410
Unanswered
michaelaflores
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Attempting to follow the relevant docs for integrating with an existing auth backend led me to this Issue, where the docs themselves don't lead to a working implementation against an existing auth backend.
My problem is the client side code is not receiving any of the auth information returned in my
authorize
function. In the current iteration I began getting thisError serializing
.session.user.imagereturned from
getServerSidePropsin "/". Reason:
undefinedcannot be serialized as JSON. Please use
nullor omit this value.
error.Here's what I have set up:
Beta Was this translation helpful? Give feedback.
All reactions