Skip to content

Commit

Permalink
Tell omniauth which redirect_uri to use
Browse files Browse the repository at this point in the history
  • Loading branch information
Octavian Neguletu committed Jan 16, 2020
1 parent d2a5e00 commit 43f02c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/omni_auth/strategies/azure_ad_auth.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def user_roles
# query parameters. Azure fails validation because that doesn't match the
# registered callback.
def callback_url
options[:redirect_uri]
options[:redirect_uri] || (full_host + script_name + callback_path)
end
end
end
Expand Down

0 comments on commit 43f02c7

Please sign in to comment.