sindrenm04/25/2023, 1:09 PM
header, preferably within an
configuration block? The
seems to only skip the refresh token cycle, but it will still add the header if there are tokens available in the `BearerAuthProvider`'s
. I've currently found a workaround where I'm creating a
manually and passing it to `Auth`'s
(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
block, but I think the Auth plugin might be adding it back after I removed it.
Aleksei Tirman [JB]04/25/2023, 1:39 PM
method to configure when to send the
header without waiting for 401 status code from a server. I think manual passing of a
is a fine approach.
sindrenm04/26/2023, 8:03 AM
also seems to set the
token header if it's present in the cache, though. So I guess going with the manually built
is the way to go. 👍