Get Client in Logout #2468
-
Is your feature request related to a problem? Please describe. Describe the solution you'd like Describe alternatives you've considered |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 12 replies
-
You mean this step of the logout flow?
Can you give me some details what you mean by passing the client along? |
Beta Was this translation helpful? Give feedback.
-
I would suggest to use https://www.ory.sh/hydra/docs/reference/api/#lists-all-consent-sessions-of-a-subject to get all sessions of the subject. Then you could just filter the result for the login_session_id corresponding to the sid. Then you would get the corresponding client information. However I also would like it to get the client info right away from hydra when making the logout request |
Beta Was this translation helpful? Give feedback.
-
@honzapatCZ @pommelinho we can not include the ClientID because a single login session (sid) can be linked to multiple clients because login and consent are two separate things. We currently do not keep track of what clients use a sid so this would need some work. |
Beta Was this translation helpful? Give feedback.
-
Hey @honzapatCZ, just checking in if your problem still persists. |
Beta Was this translation helpful? Give feedback.
@honzapatCZ @pommelinho we can not include the ClientID because a single login session (sid) can be linked to multiple clients because login and consent are two separate things.
We currently do not keep track of what clients use a sid so this would need some work.