No description
- Python 64.1%
- CoffeeScript 22%
- JavaScript 10.8%
- Pug 1.9%
- Shell 1.2%
|
Some checks failed
Docker Image CI / Push Docker image to GHCR and DockerHub (push) Failing after 3m0s
|
||
|---|---|---|
| .github/workflows | ||
| back | ||
| front | ||
| conf.snippet.json | ||
| config.snippet.py | ||
| config_env_subst.snippet.sh | ||
| Dockerfile.back | ||
| Dockerfile.front | ||
| README.md | ||
| TODO.md | ||
| urls.py | ||
Taiga Contrib OIDC Auth
Forked from mig5/taiga-contrib-oidc-auth
Kudos to all known contributors:
This repository also provides Docker images built on top of the official Taiga.io images including the OIDC authentication provider.
Configuration
taiga-front
Configure the following environment variables for the container running taiga-front:
ENABLE_OIDC_AUTH="true"
OIDC_BUTTON_TEXT="OIDC" # optionally configure login button
DEFAULT_LOGIN_ENABLED="false" # optionally disable local user login
Enabling OIDC login is independent from setting PUBLIC_REGISTER_ENABLED.
taiga-back
Configure the following environment variables for the container running taiga-back:
ENABLE_OIDC_AUTH="True"
OIDC_ISSUER="<url of your OIDC provider>"
OIDC_CLIENT_ID="<client id configured in OIDC provider"
OIDC_CLIENT_SECRET="<client secret configured in OIDC provider"
OIDC_SCOPES="openid profile email" # optionally configure scopes
# optionally configure endpoints
OIDC_AUTHORIZATION_ENDPOINT="<url to authorization endpoint>"
OIDC_JWKS_ENDPOINT="<url to JWKS endpoint>"
OIDC_TOKEN_ENDPOINT="<url to token endpoint>"
OIDC_USERINFO_ENDPOINT="<url to user info endpoint>"
# if you run behind a reverse proxy with TLS termination
# activate this to use HTTPS in the redirect URI
USE_X_FORWARDED_HOST="True"
Advanced Configuration / Migration
If you want to migrate from an existing installation using robrotheram/taiga-contrib-openid-auth
or if you need to configure the claims returned from your OIDC provider, you can set the following environment variables for the
container running taiga-back:
OIDC_AUTHDATA_KEY="openid" # use existing connection from robrotheram/taiga-contrib-openid-auth
OIDC_SLUGGIFY_USERNAME="True" # generate the same username as robrotheram/taiga-contrib-openid-auth
OIDC_CLAIM_USERNAME="preferred_username" # use preferred username from OpenID
OIDC_CLAIM_AUTHDATA="sub" # claim used to identify OAuth users
OIDC_CLAIM_EMAIL="email" # claim containing user's e-mail address
OIDC_CLAIM_FULLNAME="name" # claim containing user's full name