hey! i have a question about oauth2. i basically used the code here https://ktor.io/servers/features/authentication/oauth.html . what happens when i pass a invalid scope (just an example) i basically create an endless loop. the callback tries to send an error reponse back to the /oauth endpoint, the endpoint sees "not authenticated" redirects back to my oauth provider it tries to send the error response .. any ideas how to fix it?
bitkid
04/08/2020, 5:29 PM
ah ok easy .. i just had to move the error handling route out of authenticate {}