local-ch / lhc

🚀 Advanced HTTP Client for Ruby. Fueled with interceptors.
GNU General Public License v3.0
43 stars 1 forks source link

Token format to evaluate reauthenticate? was too strict #172

Closed 10xSebastian closed 4 years ago

10xSebastian commented 4 years ago

When this feature was introduced, there was only 1 bearer token format, the one from auth.local.ch.

Now with Salesforce we have a second bearer token issuer, and this PR weakens the criterias under which a reauthenticate? is performed to refresh client tokens.