Skip to content

Releases: EmbarkStudios/tame-oauth

0.10.0

21 Mar 07:27
Compare
Choose a tag to compare

Changed

  • PR#72 update http -> 1.1.0.

Release 0.9.6

20 Nov 16:13
Compare
Choose a tag to compare

Changed

  • PR#67 upgraded ring from 0.16 -> 0.17.

Release 0.9.4

04 Oct 12:45
Compare
Choose a tag to compare

Changed

  • PR#66 replaced base64 with data-encoding.

Release 0.9.3

09 Jun 15:41
0.9.3
8bc40b7
Compare
Choose a tag to compare

Fixed

  • PR#65 Use url safe base64 when decoding jwt claims from id tokens.

Release 0.9.2

25 Apr 14:51
0.9.2
4a15224
Compare
Choose a tag to compare

Fixed

  • PR#63 Use correct base64 padding when decoding jwt claims from id tokens.

Release 0.9.1

30 Mar 07:48
0.9.1
dd31fb5
Compare
Choose a tag to compare

Added

  • Support for id tokens, a new trait for this was added (IdTokenProvider) and implemented for all current token providers so both access tokens and id tokens can be fetched.
  • Added is_*_provider methods to TokenProviderWrapper for asserting the inner type.
  • PR#61 added debug implementations for all the providers (excludes sensitive data in the output).

Changed

  • RequestReason::ScopesChanged was renamed to RequestReason::ParametersChanged
  • PR#59 update outdated base64 dependency
  • Moved the placement of the CachedTokenProvider on TokenProviderWrapper so that it wraps the outer type instead of the inner, that way the uncached provider can be accessed via .inner().

Fixed

  • PR#57 Documentation improvements

Release 0.8.1

10 Jan 13:44
0.8.1
fe44635
Compare
Choose a tag to compare

Fixed

  • PR#54 re-adds get_account_info to the outer ServiceAccountProvider implementation. It was accidentally removed in #51.

Release 0.8.0

10 Jan 12:28
7eba397
Compare
Choose a tag to compare

Changed

  • PR#51 moved the token cache out of ServiceAccountProvider into a public type, and added a cached token provider that can wrap any other token provider. This wrapper now wrapps all the current gcp token providers, making them cached by default.
  • PR#53 changed the cache lock from a Mutex into a RwLock.

Release 0.7.0

02 Feb 16:25
Compare
Choose a tag to compare

Changed

  • PR#47 removed the dependency upon chrono as it was overkill and brought in multiple security advisories and is only lightly maintained.

Release 0.6.0

07 Aug 12:01
Compare
Choose a tag to compare

Added

  • PR#40 added support for Metadata Server Auth so that you can obtain oauth tokens when running inside GCP. Thanks @boulos!
  • PR#42 resolved #39 by adding support for the same default credentials flow as the the Go oauth2 implementation for Google oauth. This included adding support for EndUserCredentials. Thanks @boulos!