Sign-in and Sign-up and Social Sign-in
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.


Social sign-in
To configure social sign-in, you must configure the following variables on the .env
file:
NEXT_PUBLIC_AUTH_GOOGLE_ID=""
AUTH_GOOGLE_SECRET=""
NEXT_PUBLIC_AUTH_FACEBOOK_ID=""
AUTH_FACEBOOK_SECRET=""
NEXT_PUBLIC_AUTH_GITHUB_ID=""
AUTH_GITHUB_SECRET=""
To get the credentials, you create the application in the different providers:
For GitHub: https://github.com/settings/applications/new
For Facebook: https://developers.facebook.com/
Last updated