Is there a way to tell the Auth plugin
not to add an
Authorization: Bearer
header, preferably within an
install(DefaultRequest)
configuration block? The
AuthCircuitBreaker
seems to only skip the refresh token cycle, but it will still add the header if there are tokens available in the `BearerAuthProvider`'s
AuthTokenHolder
. I've currently found a workaround where I'm creating a
BearerAuthProvider
manually and passing it to `Auth`'s
providers
(instead of using the DSL), but it feels a little hacky. Would it make sense with another attribute that prevented the plugin from adding the header, perhaps?
I've also tried removing the header manually inside of the
install(DefaultRequest)
block, but I think the Auth plugin might be adding it back after I removed it.