https://kotlinlang.org logo
#ktor
Title
# ktor
t

Tucker Barbour

06/14/2022, 12:46 PM
I’m curious how to potentially have “nested” authentication configurations. The use-case is a user authenticates with OAuth2 and then store the session information. Then within a session authenticated route, allow the user to authenticate with OAuth2 using a different provider to perform actions on their behalf. The only way I’ve found is to manually perform the OAuth2 flow with a session authenticated route rather than being able to use the oauth2 authentication plugin.
Seems like it’s already being tracked. — https://youtrack.jetbrains.com/issue/KTOR-606
16 Views