Skip to content

Regression: Authentik SSO not working with 1.5.0-rc.21 #368

@begunfx

Description

@begunfx

Drydock version

1.5.0-rc.21

What happened?

Just updated to rc.21 and it seems I cannot connect to Authentik to authenticate via SSO anymore. Had to use my fallback credentials to login. Only change I made to the compose file was the new option:
- DD_AGENT_ALLOW_INSECURE_SECRET=true

Seeing the following message in the drydock controller container log:

[09:09:14.401] DEBUG (drydock/7): Executing oidc strategy {"component":"authentication.oidc.authentik"}

[09:09:14.402] DEBUG (drydock/7): No bearer token provided {"component":"authentication.oidc.authentik"}

[09:09:14.403] DEBUG (drydock/7): Executing oidc strategy {"component":"authentication.oidc.authentik"}

[09:09:14.404] DEBUG (drydock/7): No bearer token provided {"component":"authentication.oidc.authentik"}

[09:09:14.406] DEBUG (drydock/7): Executing oidc strategy {"component":"authentication.oidc.authentik"}

[09:09:14.406] DEBUG (drydock/7): No bearer token provided {"component":"authentication.oidc.authentik"}

[09:09:16.307] DEBUG (drydock/7): Executing oidc strategy {"component":"authentication.oidc.authentik"}

[09:09:16.307] DEBUG (drydock/7): No bearer token provided {"component":"authentication.oidc.authentik"}

[09:09:16.314] DEBUG (drydock/7): Discovering configuration from https://auth.justthebeguns.com/application/o/drydock/.well-known/openid-configuration {"component":"authentication.oidc.authentik"}

[09:09:16.315] WARN (drydock/7): TLS certificate verification disabled for OIDC - do not use in production {"component":"authentication.oidc.authentik"}

[09:09:16.317] WARN (drydock/7): Unable to initialize OIDC session (fetch failed) {"component":"authentication.oidc.authentik"}

What did you expect?

see above

Steps to reproduce

See above

Relevant configuration

Logs


Installation method

Docker Compose

Docker version

24.0.1

OS / Architecture

Synology DSM 7

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:securitySecurity scanning, gates, auth, or hardeningawaiting-verificationFix or diagnosis exists; waiting for reporter or release verificationbugSomething isn't workingfixed-pending-releaseFixed on a branch or unreleased build; pending tagged release or confirmation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions