Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Have a single offline session for a client in all cases #33985

@stianst

Description

@stianst

Description

Currently if within a single SSO session multiple offline sessions are requested, they are linked to the same offline session, but with multiple client sessions within.

For example:

  1. Login
  2. Authz code flow client_id=myapp1&scope=offline
  3. Authz code flow client_id=myapp2&scope=offline

This results in myapp1 and myapp2 client sessions sharing the same offline session. However, if logout is in between:

  1. Login
  2. Authz code flow client_id=myapp1&scope=offline
  3. Logout, and login again
  4. Authz code flow client_id=myapp2&scope=offline

Then this results in a different behaviour where there is no shared offline session.

This leads to some potentially confusing behaviour as you can't predict the number of offline sessions, and would have to count in addition the client sessions within, if you want to know how many "offline sessions exists".

We could unify this by always creating a single offline session, which would also eliminate the need for a client session, as the two could be combined into a single entity.

Discussion

No response

Motivation

No response

Details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions