project_next_14_ai_prompt_sharing icon indicating copy to clipboard operation
project_next_14_ai_prompt_sharing copied to clipboard

ACCESS DENIED ISSUE SOLVED

Open CarrioliDante opened this issue 1 year ago • 3 comments

The problem is in api/auth/[...nextauth]/route.js

Change "callbacks" to "callback"

image

CarrioliDante avatar Dec 04 '23 02:12 CarrioliDante

are you able to connect with MongoDB? I can log-in but my user's log-in data is not getting saved. I have created the Clusteri but it is not working tho.

Pannu786 avatar Dec 04 '23 17:12 Pannu786

Thank you @CarrioliDante, It took me hours for this problem @@

whynotkimhari avatar Dec 23 '23 15:12 whynotkimhari

This doesn't work. callback means nothing, and the user is not inserted in the db. The correct way of doing it is with callbacks, just as in the next-auth documentation, and the problem remains. Fixed #91

vladdg-dev avatar Feb 07 '24 18:02 vladdg-dev