We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The code must be explained more detail, in the Getting a role part.
The code: return { role: profile.role ?? "user", ... } (The ... part shows an error said "Expression Expected)
Give more details explanation about Role Based Access Control, especially using with database (ex: MongoDb)
https://authjs.dev/guides/role-based-access-control
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What is the improvement or update you wish to see?
The code must be explained more detail, in the Getting a role part.
The code:
return { role: profile.role ?? "user", ... }
(The ... part shows an error said "Expression Expected)
Is there any context that might help us understand?
Give more details explanation about Role Based Access Control, especially using with database (ex: MongoDb)
Does the docs page already exist? Please link to it.
https://authjs.dev/guides/role-based-access-control
The text was updated successfully, but these errors were encountered: