Closed spruce-bruce closed 5 years ago
After a request fails due to a 401 we do a token exchange and attempt the same request again with the new token.
Instead of replacing the old token, we're appending a new Bearer ${xyz} string onto the end of the old Authorization header.
Bearer ${xyz}
In addition, any headers added by other plugins are also concatenated together.
After a request fails due to a 401 we do a token exchange and attempt the same request again with the new token.
Instead of replacing the old token, we're appending a new
Bearer ${xyz}
string onto the end of the old Authorization header.In addition, any headers added by other plugins are also concatenated together.