Releases: softonic/guzzle-oauth2-middleware
Releases · softonic/guzzle-oauth2-middleware
Fix PSR-6 issue
What's Changed
- Avoid not allowed key characters for PSR-6 key by @bullett445 in #20
New Contributors
- @bullett445 made their first contribution in #20
Full Changelog: 2.1.0...2.1.1
Add psr/cache 2.0 and 3.0 support
Adds support for 2.0 and 3.0 psr/cache versions.
Add header according to provider
Fixed major bug, where header were always "Authorization: Bearer ". Now auth headers come from OAuth2 headers will come from the provider.
Allow generic token_options to be passed via $config[]
1.3.0
Allow generic token_options to be passed via $config[] @jonathan-graf
Fix OAuth token cache
1.2.2 Fix OAuth getCacheKey method (#12)
Allow custom HandlerStack
Merge pull request #9 from softonic/feature/allow-other-middlewares Allow passing custom handlerstack
Handle null response
Bugfix: handle null response
Added ClientBuilder
Added ClientBuilder to encapsulate the logic needed to build a GuzzleHttp\Client with the required middleware.
Handle token negotiation transparently
Adds authorization headers, saves token in cache, and retries once in case of failure