Samusev Semën
05/19/2023, 2:20 PM/callback?error=access_denied&error_description=...
And since my /callback
endpoint under authenticate
block Ktor server behaves incorrectly - essentially it runs authorization flow again (since there is no authenticated OAuth2 proncipal, user redirects back to discord authorization window).
Expected behaviour: let me handle this error and show to the user.
Any advices how to tackle this problem?