dashboard backend merge requestshttps://open.greenhost.net/stackspin/dashboard-backend/-/merge_requests2022-05-12T14:13:26Zhttps://open.greenhost.net/stackspin/dashboard-backend/-/merge_requests/69Resolve "Re-logging in doesn't require re-authentication after logging out fo...2022-05-12T14:13:26ZMaarten de WaardResolve "Re-logging in doesn't require re-authentication after logging out for all apps"Closes #21
This MR implements a logout endpoint that can be used by Hydra. Applications should call the `/oauth2/sessions/logout` URL when a user tries to log out of the application. Hydra then creates a logout challenge and redirects ...Closes #21
This MR implements a logout endpoint that can be used by Hydra. Applications should call the `/oauth2/sessions/logout` URL when a user tries to log out of the application. Hydra then creates a logout challenge and redirects the browser to the endpoint implemented in this MR. The code here ends the Hydra and Kratos sessions.
What is not implemented:
1. The dashboard should invalidate the JWT token of the dashboard-specific session
1. The dashboard should call the `oauth2/sessions/logout` URL after the JWT token has been invalidated.
We could do both in this endpoint. The result would be that when a user clicks logout in any application (for example Nextcloud), their Dashboard session would also be ended.0.8.2https://open.greenhost.net/stackspin/dashboard-backend/-/merge_requests/31Resolve "Cannot connect Kratos on deployment"2021-12-08T12:01:58ZMart van SantenResolve "Cannot connect Kratos on deployment"Closes #15Closes #150.8.0Mart van SantenMart van Santen