From fc4ce4460cde2b727b3fa448d42a211d2d83887f Mon Sep 17 00:00:00 2001 From: simon lehericey Date: Thu, 11 Jan 2018 15:23:07 +0100 Subject: [PATCH] FC Particulier Controller: do not parse an URI into URI --- app/controllers/france_connect/particulier_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/france_connect/particulier_controller.rb b/app/controllers/france_connect/particulier_controller.rb index 3d0e0a0f7..1f0ee1a05 100644 --- a/app/controllers/france_connect/particulier_controller.rb +++ b/app/controllers/france_connect/particulier_controller.rb @@ -10,7 +10,7 @@ class FranceConnect::ParticulierController < ApplicationController state: session[:state], nonce: session[:nonce] ) - redirect_to URI.parse(authorization_uri).to_s + redirect_to authorization_uri end def callback