Hi, I need help I have one scenario in which I hav...
# talk-hydra
g
Hi, I need help I have one scenario in which I have 3 applications like app1,app2, and app3, and all the applications are written in different languages like React, Angular, and PHP. In which all 3 applications are getting authenticated and authorized by Hydra server with
remeber me: true
the same client. When I logged in to app1 and on the other apps I click login it will auto login me without asking username password as I have set
remeber me:true
. So how should Implement a Logout like Google does when we let's say logout from Youtube it will log out me from all other services like Gmail, and photos. Any help would be appreciated. If I am wrong Please correct me.
d
Have a look at OpenID Connect front channel logout for one solution to that problem, which hydra has support for. Basically, when you log out from an app, hydra will send back a response with iframes, loading each client which supports front channel logout with a configurable URL. So your client apps can for instance communicate with other instances running in the same browser through e.g. localStorage to indicate a logout request has been sent, and do the appropriate thing.