When I nest auth handlers, such that I call a `bas...
# ktor
m
When I nest auth handlers, such that I call a
basic
auth handler, and inside that I call a
jwt
handler (as per example above), it seems that the
basic
auth handler chokes if the authScheme is not
Basic
. It seems to me that
BasicAuth.kt:ApplicationRequest.basicAuthenticationCredentials()
should check whether
authScheme
is
Basic
, and only then try to base64 decode the payload. If it sees that
authScheme
is something like
Bearer
, it should just return
null
.