Alexander Weickmann
02/15/2024, 11:26 PMget("/session/logout") {
call.sessions.clear<Session>()
call.respondRedirect("/")
}
Now I was very surprised that when I hit this route, I am not only logged out as it should be, but I am also redirected not to "/", but to the back to the AWS Identity Center.
This is very cool, but I do wonder how this works. How does the browser know that it shall redirect to the identity center, as I never told it to ...?Alexander Weickmann
02/15/2024, 11:31 PM