Merge pull request #2479 from tchak/fix-fc

Fix France Connect
This commit is contained in:
gregoirenovel 2018-08-29 11:21:57 +02:00 committed by GitHub
commit 94382f4176
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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