Skip to content

Commit

Permalink
fix for callback phase initializing twice (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
msuliq authored Oct 16, 2024
1 parent 840c899 commit 230b9c6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## [Released]

## [0.2.6] - 2024-10-16
- Fix for callback_phase initializing twice

## [0.2.5] - 2024-10-16
- Fix for uninitialized constant Oidc in strategy.rb:163

Expand Down
2 changes: 1 addition & 1 deletion lib/omniauth/oidc/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module OmniauthOidc
VERSION = "0.2.5"
VERSION = "0.2.6"
end
1 change: 0 additions & 1 deletion lib/omniauth/strategies/oidc/callback.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ def callback_phase # rubocop:disable Metrics
client.authorization_code = authorization_code

access_token
super
rescue CallbackError => e
fail!(e.error, e)
rescue ::Rack::OAuth2::Client::Error => e
Expand Down

0 comments on commit 230b9c6

Please sign in to comment.