Skip to content

[BUG] OIDC login broken in 2.5.1 (JWSInvalid: Invalid Compact JWS) – works in 2.5.0 with identical config #1018

Description

@mkuhrau-spec

Title

OIDC login broken in 2.5.1 (JWSInvalid: Invalid Compact JWS) – works in 2.5.0 with identical config

Platform

Website - Firefox

Server Installation Method

Docker

Version

2.5.1

Troubleshooting

  • I have examined logs and tried to find the issue
  • I have reviewed opened and closed issues
  • I have tried restarting the application
  • I have checked open issues and ensured this is not a duplicate

The Problem

Authentik login works in 2.5.0 but is not possible in 2.5.1.

How to Reproduce

[op:terminal_ssh_disconnected,user:CIuOJfj-OuI2uL4KpMezX,host:6,session:zfoqlN0XRLKE4ktk-tewq]
2026-07-23T17:14:25.912071357Z [termix] [5:14:25 PM] [ERROR] [🔐] OIDC callback failed
2026-07-23T17:14:25.912698657Z [termix] JWSInvalid: Invalid Compact JWS
2026-07-23T17:14:25.912719768Z [termix] at compactVerify (file:///app/node_modules/jose/dist/webapi/jws/compact/verify.js:13:15)
2026-07-23T17:14:25.912726916Z [termix] at jwtVerify (file:///app/node_modules/jose/dist/webapi/jwt/verify.js:5:28)
2026-07-23T17:14:25.912732213Z [termix] at verifyOIDCToken (file:///app/dist/backend/backend/database/routes/user-oidc-utils.js:179:31)
2026-07-23T17:14:25.912737157Z [termix] at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
2026-07-23T17:14:25.912741954Z [termix] at async file:///app/dist/backend/backend/database/routes/users.js:848:24 {
2026-07-23T17:14:25.912746935Z [termix] code: 'ERR_JWS_INVALID'
2026-07-23T17:14:25.912751398Z [termix] }

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status
    Bug Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions