Skip to content

Commit

Permalink
Merge pull request #427 from DFE-Digital/allow-multiple-callbacks-rack
Browse files Browse the repository at this point in the history
Allow multiple callbacks rack
  • Loading branch information
Octavian Neguletu authored Jan 17, 2020
2 parents 4aeff8f + e6054cf commit dd8a3e2
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 @@ -53,7 +53,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 dd8a3e2

Please sign in to comment.