We use token authentication with our app. Can somebody point me to an example of how to configure the bearer section so that the auth/refresh token can be shared across more than one http client? We have two different servers (dept1.mycompany.com and dept2.mycompany.com) that use the same auth token.
a
Aleksei Tirman [JB]
04/28/2022, 12:46 PM
You can create a
BearerAuthProvider
object and add it to a list of providers for both clients. In this case a token holder will be shared so this solution should work in principle: