Skip to content

Releases: zaikio/zaikio-jwt_auth

v2.8.1

29 Sep 13:48
0ecded0
Compare
Choose a tag to compare
  • Fix: support token_data.to_s when using mocked JWTs

v2.8.0

29 Sep 08:58
e433071
Compare
Choose a tag to compare
  • Add convenient method token_data.to_s to get the current token as string.

v2.7.1

21 Jul 21:59
Compare
Choose a tag to compare

Allows generating a string JWT for use in test suites.

setup do
  Zaikio::JWT.configuration.test_mode = true
end

test "assert something" do
  token = issue_mock_jwt_token(params)
  get some_url(headers: { "Authorization": "Bearer #{token}" })
  assert_response :success
end

v2.7.0

03 Jul 09:54
898560c
Compare
Choose a tag to compare
  • Handle errors when fetching the directory cache and fallback to API

v2.6.0

05 Jun 07:50
9fd7617
Compare
Choose a tag to compare
  • Support on behalf access tokens when authorize_by_jwt_subject_type "Person"

v2.5.0

11 May 09:08
5cc8cdd
Compare
Choose a tag to compare
  • Accept zaikio.revoked_access_token event when access token got revoked

v2.4.1

08 May 12:36
eeb2172
Compare
Choose a tag to compare
  • Support multiple apps in one controller

v2.4.0

27 Mar 13:25
48b8914
Compare
Choose a tag to compare
  • Do not schedule Cache::UpdateJob for waiting time as it is not supported by every ActiveJob Queue Adapater (such as sneakers)

v2.3.0

09 Feb 16:28
831e210
Compare
Choose a tag to compare
  • Add more detailed information to error responses
  • Fix NoMethodError: undefined method '[]' for nil when Directory cache is unavailable
  • Ensure callers handle DirectoryCache.fetch returning nil

v2.2.0

28 Sep 10:08
5017a91
Compare
Choose a tag to compare
  • Added rack Middleware for rack-attack throttling