Skip to content

Logout token does not contains exp claim #4035

@JonasFisch

Description

@JonasFisch

Preflight checklist

Ory Network Project

No response

Describe the bug

When validating the logout token during backchannel logout process I noticed that the exp claim is not included in token. In the OpenIDConnect specs this claim is marked as required (https://openid.net/specs/openid-connect-backchannel-1_0.html#LogoutToken). I was wondering if this is intentional or if the claim is missing.

In the source code the exp claim is not included on token creation.

"events": map[string]struct{}{"http://schemas.openid.net/event/backchannel-logout": {}},

Reproducing the bug

I used docker compose to setup hydra locally. Then triggered the logout process.

Relevant log output

Relevant configuration

Version

v2.2.0

On which operating system are you observing this issue?

Linux

In which environment are you deploying?

Docker Compose

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is not working.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions