Dear friends. Configuring authorization via Keycloak. I have installed the plugin, the redirect is working, but something is not going through to the end.
After entering the username and password, it returns to Taiga but writes an error:
Our Oompa Loompas have not been able to get your credentials from OpenID.
/conf.json
{
"api": "${TAIGA_URL}${TAIGA_SUBPATH}/api/v1/",
"eventsUrl": "${TAIGA_WEBSOCKETS_URL}${TAIGA_SUBPATH}/events",
"baseHref": "${TAIGA_SUBPATH}/",
"eventsMaxMissedHeartbeats": 5,
"eventsHeartbeatIntervalTime": 60000,
"eventsReconnectTryInterval": 10000,
"debug": ${DEBUG},
"debugInfo": ${DEBUG},
"defaultLanguage": "${DEFAULT_LANGUAGE}",
"themes": ["taiga"],
"defaultTheme": "taiga",
"defaultLoginEnabled": true,
"publicRegisterEnabled": ${PUBLIC_REGISTER_ENABLED},
"feedbackEnabled": true,
"supportUrl": "https://community.taiga.io/",
"privacyPolicyUrl": null,
"termsOfServiceUrl": null,
"maxUploadFileSize": null,
"contribPlugins": ${CONTRIB_PLUGINS},
"gitHubClientId": "${GITHUB_CLIENT_ID}",
"gitLabClientId": "${GITLAB_CLIENT_ID}",
"gitLabUrl": "${GITLAB_URL}",
"tagManager": { "accountId": null },
"tribeHost": null,
"enableAsanaImporter": false,
"enableGithubImporter": ${ENABLE_GITHUB_IMPORTER},
"enableJiraImporter": ${ENABLE_JIRA_IMPORTER},
"enableTrelloImporter": ${ENABLE_TRELLO_IMPORTER},
"gravatar": false,
"rtlLanguages": [
"ar",
"fa",
"he"
],
"openidAuth": "${OPENID_URL}",
"openidClientId": "${OPENID_CLIENT_ID}",
"openidClientSecret": "${OPENID_CLIENT_SECRET}",
"openidName": "${OPENID_NAME}",
"openidScope": "${OPENID_SCOPE}",
"contribPlugins": ["/plugins/openid-auth/openid-auth.json"]
}
/taiga.conf
server {
listen 80;
server_name taiga.handyman.moscow;
client_max_body_size 100M;
charset utf-8;
# Frontend
location / {
proxy_pass http://taiga-taiga-front-1/;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_redirect off;
}
# API
location /api/ {
proxy_pass http://taiga-taiga-back-1:8000;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_redirect off;
}
# Admin
location /admin/ {
proxy_pass http://taiga-taiga-back-1:8000/admin/;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_redirect off;
}
# Static files
location /static/ {
alias /taiga/static/;
expires max;
log_not_found off;
access_log off;
}
# Media files
location /media/ {
alias /taiga/media/;
expires max;
log_not_found off;
access_log off;
}
}
āGET /conf.json HTTP/1.1ā 304 0
āPOST /api/v1/auth HTTP/1.1ā 405 559
There is also an HTTPS-portal through which I receive an SSL certificate for the domain.
How can I fix this? Please help me. I havenāt been able to handle this for 3 days now.