Skip to content

Releases: zaikio/zaikio-oauth_client

v0.11.1

21 Apr 12:02
Compare
Choose a tag to compare
  • Update zaikio-jwt_auth dependency

v0.11.0

19 Apr 12:05
Compare
Choose a tag to compare
  • Send redirect_with_error=1 to redirect flow and handle errors like in OAuth spec.
  • Support error_path_for for custom error handling.
  • Automatically set state parameter for OAuth login and check response to protect
    against replay attacks.

v0.10.0

15 Apr 07:17
Compare
Choose a tag to compare
  • Remove Access Token Lookups Queries from Log
  • Use configured logger for AccessToken queries
  • Support :organization_id parameter with subscription flow

v0.9.0

13 Apr 13:10
Compare
Choose a tag to compare
  • Add support for subscription flow (for setting up a plan)

v0.8.1

31 Mar 07:57
Compare
Choose a tag to compare
  • Destroy access token with invalid refresh token

v0.8.0

30 Mar 15:46
c36ecd3
Compare
Choose a tag to compare
  • Always destroy old access token after successful Hub API call in Zaikio::AccessToken#refresh! and return nil if refreshing fails.
  • Add .find_usable_access_token helper method to get a token without making a Hub API call to refresh it

v0.7.2

29 Mar 08:17
Compare
Choose a tag to compare
  • Replace dependency on rails with a more specific dependency on railties and friends

v0.7.1

17 Mar 13:47
974b989
Compare
Choose a tag to compare
  • Fix incorrect const_defined? behaviour when initializing without zaikio-hub-models gem

v0.7.0

09 Mar 10:24
Compare
Choose a tag to compare
  • Don't set cookies.encrypted[:origin] when passing ?origin to new_session_path
  • show_signup, force_login and state params are now passed through new_session_path.

v0.6.1

25 Feb 08:26
Compare
Choose a tag to compare
  • Fixed token lookup by searching through requested scopes not through granted scopes. You need to run $ rails zaikio_oauth_client:install:migrations to apply latest migrations.