ScaffoldHub offers out-of-the-box complete sign-in and sign-up capabilities, including Social Sign-in.
Users can also switch languages and the theme on the sign-in page.
To configure social sign-in, you must configure the following variables on the .env file:
.env
To get the credentials, you create the application in the different providers:
For Google: https://developers.google.com/identity/protocols/oauth2/javascript-implicit-flowarrow-up-right
For GitHub: https://github.com/settings/applications/newarrow-up-right
For Facebook: https://developers.facebook.com/arrow-up-right
Last updated 2 years ago
NEXT_PUBLIC_AUTH_GOOGLE_ID="" AUTH_GOOGLE_SECRET="" NEXT_PUBLIC_AUTH_FACEBOOK_ID="" AUTH_FACEBOOK_SECRET="" NEXT_PUBLIC_AUTH_GITHUB_ID="" AUTH_GITHUB_SECRET=""