Get session status from the sid
with Ory Hydra
#3650
Unanswered
javid-gulamaliyev
asked this question in
Q&A
Replies: 1 comment
-
Hey @javid-gulamaliyev Much easier would be to not use OAuth2 in a first-party scenario, but rather a solution like Ory Kratos. Session and user management is much easier if you dont use the OAuth2 "way" (which makes sense since its not designed for that use case) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! I am using Ory Hydra with OAuth and OICD setup and a custom Identity provider application.
My question is, is it possible to check the Hydra session status based on
sid
? I know that one can introspect atoken
, however with multiple clients setup the Identity provider doesn't have access to these tokens. One could communicate these back from the individual clients, but that is difficult to scale as more and more clients are added. Since session revocation doesn't revoke tokens either, there is more complexity added in having to revoke tokens.Being able to query whether a session is active based on the
sid
would solve this.Alternatively, is there a way to "hook in" some custom behaviour that can happen before or after the client redirect (like communicating the token to the Identity provider)?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions