Some checks failed
Deploy to production / deploy (push) Failing after 49s
- Created OAuth credentials setup guide for Google, Microsoft, Keycloak, ORY, and ZITADEL. - Added migration for oauth_identity table to store OAuth identities linked to users. - Implemented OAuthIdentity model for managing OAuth identities in the database. - Developed oauthService to handle OAuth login, user creation, and identity linking. - Created OAuthCallbackView and OAuthUserCallbackView components for handling OAuth responses in the frontend. - Added error handling and user feedback during the OAuth process.
39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
# Kopie nach `backend/.env` — nicht committen.
|
|
#
|
|
# Produktion / direkter DB-Host steht typischerweise in `.env`.
|
|
# Für Entwicklung mit SSH-Tunnel: Datei `backend/.env.local` anlegen (wird nach `.env`
|
|
# geladen und überschreibt). So bleibt `.env` mit echtem Host, Tunnel nur lokal.
|
|
#
|
|
# Beispiel backend/.env.local:
|
|
# DB_HOST=127.0.0.1
|
|
# DB_PORT=60000
|
|
# # DB_SSL=0
|
|
# (Tunnel z. B.: ssh -L 60000:127.0.0.1:5432 user@server)
|
|
#
|
|
DB_NAME=
|
|
DB_USER=
|
|
DB_PASS=
|
|
# DB_HOST=
|
|
# DB_PORT=5432
|
|
# DB_SSL=0
|
|
#
|
|
# Optional (Defaults siehe utils/sequelize.js)
|
|
# DB_CONNECT_TIMEOUT_MS=30000
|
|
|
|
# OAuth / OpenID Connect
|
|
# FRONTEND_URL muss auf die öffentliche Frontend-URL zeigen, damit der Provider nach dem Login
|
|
# korrekt auf den Callback im SPA zurückspringen kann.
|
|
# OAUTH_GOOGLE_CLIENT_ID=
|
|
# OAUTH_GOOGLE_CLIENT_SECRET=
|
|
# OAUTH_MICROSOFT_CLIENT_ID=
|
|
# OAUTH_MICROSOFT_CLIENT_SECRET=
|
|
# OAUTH_KEYCLOAK_ISSUER=
|
|
# OAUTH_KEYCLOAK_CLIENT_ID=
|
|
# OAUTH_KEYCLOAK_CLIENT_SECRET=
|
|
# OAUTH_ORY_ISSUER=
|
|
# OAUTH_ORY_CLIENT_ID=
|
|
# OAUTH_ORY_CLIENT_SECRET=
|
|
# OAUTH_ZITADEL_ISSUER=
|
|
# OAUTH_ZITADEL_CLIENT_ID=
|
|
# OAUTH_ZITADEL_CLIENT_SECRET=
|