Skip to content

Commit

Permalink
Merge pull request #329 from ontoportal-lirmm/feature/add-multi-provi…
Browse files Browse the repository at this point in the history
…vder-authentifcation

Fix: Github provider authentification code issue
  • Loading branch information
syphax-bouazzouni committed Sep 5, 2023
1 parent 1c6a51d commit e675042
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def omniauth_providers_info
end

def omniauth_provider_info(strategy)
omniauth_providers_info.select {|k,v| v[:strategy].eql?(strategy.to_sym)}
omniauth_providers_info.select {|k,v| v[:strategy].eql?(strategy.to_sym) || k.eql?(strategy)}
end

def omniauth_token_provider(strategy)
Expand Down

0 comments on commit e675042

Please sign in to comment.