Releases: zaikio/zaikio-jwt_auth
Releases · zaikio/zaikio-jwt_auth
v2.8.1
- Fix: support
token_data.to_s
when using mocked JWTs
v2.8.0
- Add convenient method
token_data.to_s
to get the current token as string.
v2.7.1
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
- Handle errors when fetching the directory cache and fallback to API
v2.6.0
- Support on behalf access tokens when
authorize_by_jwt_subject_type "Person"
v2.5.0
- Accept
zaikio.revoked_access_token
event when access token got revoked
v2.4.1
- Support multiple apps in one controller
v2.4.0
- Do not schedule
Cache::UpdateJob
for waiting time as it is not supported by every ActiveJob Queue Adapater (such as sneakers)
v2.3.0
- 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
- Added rack Middleware for rack-attack throttling