From 156310fdcea6340948b698df72bbbd6be8d9a234 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Tue, 26 Sep 2023 08:34:43 +0200 Subject: [PATCH] fix(ds-fr/fc-secrets): Patch only the secrets.yml file --- .../ds-fr/package/patches/secrets-fc.patch | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/machines/compute01/ds-fr/package/patches/secrets-fc.patch b/machines/compute01/ds-fr/package/patches/secrets-fc.patch index b9c60dc..2b6a889 100644 --- a/machines/compute01/ds-fr/package/patches/secrets-fc.patch +++ b/machines/compute01/ds-fr/package/patches/secrets-fc.patch @@ -17,23 +17,3 @@ index 866fa6159..6fd49ee59 100644 agent_connect: identifier: <%= ENV['AGENT_CONNECT_ID'] %> secret: <%= ENV['AGENT_CONNECT_SECRET'] %> -diff --git a/app/services/france_connect_service.rb b/app/services/france_connect_service.rb -index 31b2491c4..fd3d80530 100644 ---- a/app/services/france_connect_service.rb -+++ b/app/services/france_connect_service.rb -@@ -23,11 +23,15 @@ class FranceConnectService - - def self.retrieve_user_informations_particulier(code) - client = FranceConnectParticulierClient.new(code) -+ Rails.logger.fatal("Client: #{client.inspect}") -+ Rails.logger.fatal("Client token: #{client.access_token!(client_auth_method: :secret).userinfo!.inspect}") - - user_info = client.access_token!(client_auth_method: :secret) - .userinfo! - .raw_attributes - -+ Rails.logger.fatal("Info: #{user_info.inspect}") -+ - FranceConnectInformation.new( - gender: user_info[:gender], - given_name: user_info[:given_name],