Skip to content

Releases: zaikio/zaikio-jwt_auth

v.2.1.1

06 Sep 14:39
08187aa
Compare
Choose a tag to compare
  • Mocked JWTs now contain actual random UUIDs instead of a fixed string

v2.1.0

02 Aug 08:00
617d237
Compare
Choose a tag to compare
  • Added support for jwt_options in controller to customize JWT options

v2.0.0

29 Apr 08:51
Compare
Choose a tag to compare
  • BREAKING config.redis has been replaced with config.cache, replacing the
    direct Redis dependency with an instance of a ActiveSupport::Cache::Store. If you
    wish to keep using Redis, you should wrap it like so:
-config.redis = Redis.new
+config.cache = ActiveSupport::Cache::RedisCacheStore.new

Alternatively, you can also use Rails.cache to use a different backend:

-config.redis = Redis.new
+config.cache = Rails.cache

v1.0.2

22 Apr 10:18
Compare
Choose a tag to compare
  • After setting authorize_by_jwt_subject_type and authorize_by_jwt_scopes in a controller, any classes inheriting from your controller will also get a copy of those attributes. You can override this behaviour by calling the methods again in the child class.

v1.0.1

28 Apr 09:04
3b5564e
Compare
Choose a tag to compare
  • Bugfix: add runtime dependency activejob for rebuilding the DirectoryCache

v1.0.0

23 Apr 07:49
Compare
Choose a tag to compare
  • BREAKING When updating the DirectoryCache (either using invalidate: true or when the cache expires), it will no longer retry & sleep, blocking the main thread. Instead, it enqueues a background job to attempt the update (and will re-queue again, if needed, until the job succeeds.

v0.5.1

22 Apr 07:59
04cf33a
Compare
Choose a tag to compare

This is a bugfix release, please upgrade from v0.5.0 as soon as possible:

  • Set correct use_ssl flag on net/http when working with HTTPS connections

v0.5.0

21 Apr 07:36
Compare
Choose a tag to compare
  • Throw a Zaikio::JWTAuth::DirectoryCache::BadResponseError when the server returns with an unexpected HTTP 4xx error code or non-JSON body.

v0.4.4

29 Mar 08:16
Compare
Choose a tag to compare

[0.4.4] - 2020-03-25

  • Replace dependency on rails with a more specific dependency on railties

v0.4.3

17 Mar 13:46
f009775
Compare
Choose a tag to compare
  • Fix incorrect const_defined? behaviour when initializing without zaikio-webhooks gem