ktorio / ktor

Framework for quickly creating connected applications in Kotlin with minimal effort
https://ktor.io
Apache License 2.0
12.76k stars 1.04k forks source link

OAuth authenticate with non default scopes #1138

Open Wicpar opened 5 years ago

Wicpar commented 5 years ago

Ktor Version

1.1.13

Ktor Engine Used(client or server and name)

irrelevant

JVM Version, Operating System and Relevant Context

irrelevant

Feedback

The OAuth Authentication provides default scopes, does this imply there is a mechanism for non default ones?

I need to handle different endpoints with different scopes as we use an in house oauth server to authenticate our API. And with an increasing number of scopes defining all combinations of scopes becomes increasingly heavy on the ktor pipeline.

Does such a feature exist?

oleg-larshin commented 4 years ago

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.