api

http4k / org.http4k.security / InsecureCookieBasedOAuthPersistence / assignOriginalUri

assignOriginalUri

fun assignOriginalUri(redirect: Response, originalUri: Uri): Response

opportunity to store the uri that the request was made before authentication this will then be redirected back to after auth

Be careful not to create scenarios where an open redirector is created, by applications attempting some sort of phishing attack