Skip to content

Commit

Permalink
Merge pull request #543 from Crown-Commercial-Service/fix-issue-with-…
Browse files Browse the repository at this point in the history
…redirect

When redirecting to PMP, allow_other_host
  • Loading branch information
tim-s-ccs authored Oct 12, 2023
2 parents dfe303a + 4a12f4a commit a3c5530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/base/sessions_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def create
cookies.permanent[:remember_token] = code
Rails.logger.info 'SIGN IN ATTEMPT SUCCESSFUL'

redirect_to("#{params[:redirect_uri]}?code=#{code}&state=#{params[:state]}")
redirect_to("#{params[:redirect_uri]}?code=#{code}&state=#{params[:state]}", allow_other_host: true)
end
else
result_unsuccessful_path
Expand Down

0 comments on commit a3c5530

Please sign in to comment.