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
As far as I can see the callback expects the post to have a form encoded in the body of the post response.
The SAP has a callback of their login form that I am trying to use for the next-auth credentials provider but the body of the post command is not what the callback/credentials expects.
The issue is the authorize function of the credentials provider does not get invoked.
Any hints would be appreciated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I am working with next-auth to create a login to an enterprise software (SAP) for our Next.js application.
Where can I find the implementation of the callback ?
As far as I can see the callback expects the
post
to have a form encoded in the body of the post response.The SAP has a callback of their login form that I am trying to use for the next-auth credentials provider but the body of the post command is not what the
callback/credentials
expects.The issue is the authorize function of the credentials provider does not get invoked.
Any hints would be appreciated.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions