diff --git a/config/env.example b/config/env.example index fe6b8be02..9d46cc0d7 100644 --- a/config/env.example +++ b/config/env.example @@ -1,5 +1,5 @@ APP_NAME="tps_local" -APP_HOST="http://localhost:3000/" +APP_HOST="localhost:3000" GITHUB_CLIENT_ID="" GITHUB_CLIENT_SECRET="" diff --git a/config/secrets.yml b/config/secrets.yml index 24c0c5f34..9678196ce 100644 --- a/config/secrets.yml +++ b/config/secrets.yml @@ -18,7 +18,7 @@ defaults: &defaults france_connect_particulier: identifier: <%= ENV['FC_PARTICULIER_ID'] %> secret: <%= ENV['FC_PARTICULIER_SECRET'] %> - redirect_uri: https://{{ <%= ENV['APP_HOST'] %> }}/france_connect/particulier/callback + redirect_uri: https://<%= ENV['APP_HOST'] %>/france_connect/particulier/callback authorization_endpoint: <%= ENV['FC_PARTICULIER_BASE_URL'] %>/api/v1/authorize token_endpoint: <%= ENV['FC_PARTICULIER_BASE_URL'] %>/api/v1/token userinfo_endpoint: <%= ENV['FC_PARTICULIER_BASE_URL'] %>/api/v1/userinfo