Fix France Connect

This commit is contained in:
Paul Chavard 2018-08-29 10:01:13 +01:00
parent e937f34648
commit 70d5f1deac
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
APP_NAME="tps_local"
APP_HOST="http://localhost:3000/"
APP_HOST="localhost:3000"
GITHUB_CLIENT_ID=""
GITHUB_CLIENT_SECRET=""

View file

@ -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