refactor(nextauth): change provider from Google to Keycloak
- using self-hosted keycloak as SSO `https://sso.mareshq.com`
This commit is contained in:
parent
083fe4565d
commit
2a7b833b2e
7 changed files with 40 additions and 25 deletions
|
|
@ -20,6 +20,7 @@ DATABASE_URL="postgresql://username:password@localhost:5432/database"
|
|||
# NEXTAUTH_SECRET=""
|
||||
NEXTAUTH_URL="http://localhost:3000"
|
||||
|
||||
# Next Auth Google Provider
|
||||
GOOGLE_CLIENT_ID=""
|
||||
GOOGLE_CLIENT_SECRET=""
|
||||
# Next Auth Keycloak Provider
|
||||
KEYCLOAK_CLIENT_ID=""
|
||||
KEYCLOAK_CLIENT_SECRET=""
|
||||
KEYCLOAK_ISSUER=""
|
||||
|
|
|
|||
Reference in a new issue