Skip to content

[Bug]: spec.oidc.postLogoutRedirect field name and validation inconsistent with OIDC spec #8271

@bj0rn

Description

@bj0rn

Version

edge

What Kubernetes platforms are you running on?

Kind

Steps to reproduce

When configuring spec.oidc.postLogoutRedirect, the CRD validation enforces the regex /[^\s{};\\]*, which only allows values starting with / and rejects absolute URIs. The field name suggests a URI, and according to the OIDC specification post_logout_redirect_uri must be an absolute URI registered with the IdP. The current implementation makes it difficult to redirect to other domains after logout.

The field should accept both relative paths (e.g. /logout) and absolute URIs (e.g. https://example.com/logout).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn issue reporting a potential bugneeds triageAn issue that needs to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions