Skip to content

Commit

Permalink
When redirecting to PMP, allow_other_host
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-s-ccs committed Oct 12, 2023
1 parent 3c213aa commit 450aae5
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 450aae5

Please sign in to comment.