Skip to content

Make OP-initiated logout stateless #3836

@alnr

Description

@alnr

Preflight checklist

Ory Network Project

No response

Describe your problem

OP-initiated logouts hit the database many times and leave stale rows in the database without a creation or expiration date.

Describe your ideal solution

Should be pretty straightforward to use the stateless AEAD-based flow used in the Authorization Code grant for this purpose as well, allowing us to completely drop this table and make logouts much faster as well.

Workarounds or alternatives

Add expiration dates to logout requests and let TTL jobs/janitor handle the cleanup.

Version

all

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    featNew feature or request.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions