Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ACCESS DENIED ISSUE SOLVED #77

Open
CarrioliDante opened this issue Dec 4, 2023 · 3 comments
Open

ACCESS DENIED ISSUE SOLVED #77

CarrioliDante opened this issue Dec 4, 2023 · 3 comments

Comments

@CarrioliDante
Copy link

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

Change "callbacks" to "callback"

image

@Pannu786
Copy link

Pannu786 commented Dec 4, 2023

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.

@whynotkimhari
Copy link

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

@vladdg-dev
Copy link

vladdg-dev commented Feb 7, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants