How can I remove oauth from admin panel? #27
Unanswered
ecan-dearx
asked this question in
Q&A
Replies: 1 comment
-
The button is only visible if the However, if you only want to hide the button, you can do this as follows: authjsPlugin({
authjsConfig: nodeAuthConfig,
components: {
SignInButton: false, // <-- Hide "Sign in with Auth.js" button
},
}), But you are still authenticated and can use the admin panel. If you do not allow your user to use the admin, you can deny this using admin acces control. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
I would like to only use oauth on frontend. How can I remove the
Sign in with Auth.js
button from admin?Beta Was this translation helpful? Give feedback.
All reactions