Skip to content

WebSocker-Next - Refresh OIDC AccessToken without reconnection #43434

Open

Description

Description

At the moment, when an access token expires, the WebSocker-Next server closes the connection.
Sometimes, it's a problem since a token life span can be very short (a few minutes) and reconnection can be expensive.
Is it possible to think of some mechanism that allows the client to refresh the token before it expires and not close the websocket connection?

Implementation ideas

Maybe a PATCH request to the same WebSocket endpoint to update the access token can be a solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions