Read OIDC_RP_CLIENT_ID from a secret file #15
No reviewers
Labels
No labels
breaking
bug
ci
dependencies
documentation
feature
security
skip-changelog
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
thierryade/backend!15
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/oidc-client-id-secret"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #14
OIDC_RP_CLIENT_IDgoes through_secret(), soOIDC_RP_CLIENT_ID_FILEworks (plainOIDC_RP_CLIENT_IDstill does).deploy/docker-compose.yml:OIDC_RP_CLIENT_ID_FILE: /run/secrets/thierryadeOidcClientId+ thethierryadeOidcClientIdsecret, instead of the hardcoded empty value.deploy/README.md: SSO section rewritten (the Authentik app exists; both files to fill, what an empty client ID file means).Checked locally: with the file set,
HAS_OIDCis true and/oidc/authenticate/resolves. 103 tests, pylint 10/10.Server steps, after the merge (the compose references a new secret file)
Merging alone changes nothing in prod: the deploy job uses the server's compose file, which still has the empty
OIDC_RP_CLIENT_ID.🤖 Generated with Claude Code
https://claude.ai/code/session_014BSmBtGWeFBD9z4mYm9SjA
📊 Rapports Argus pour cette PR