🛠 Configurations
Sign-in with Email & Password (Only)
If you want your users to sign-in with Email and Password only, you can do so by updating the /app/auth/page.(tsx|tsx)
file.
Simply remove <OAuth />
and the import statement for it.
Before
After
Then update the src/app/api/auth/[...nextauth]/options.(ts | js)
with the provider you want to use. Remove the provider you don't want to use.
If all has been done properly, you should be left with either of the providers you choose to support. 🎉
Simply Visit the http://localhost:4000/auth
(opens in a new tab) route to see the changes.