Skip to content

Commit

Permalink
Add login_hint on redirect
Browse files Browse the repository at this point in the history
Permit autofil username/email on redirect
  • Loading branch information
Roriz committed Mar 2, 2021
1 parent 37ebf00 commit 5c2a62a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/omniauth/strategies/auth0.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def client
# Define the parameters used for the /authorize endpoint
def authorize_params
params = super
%w[connection connection_scope prompt screen_hint].each do |key|
%w[connection connection_scope prompt screen_hint login_hint].each do |key|
params[key] = request.params[key] if request.params.key?(key)
end

Expand Down

0 comments on commit 5c2a62a

Please sign in to comment.