Skip to content

Commit 8f29e2b

Browse files
authored
Merge pull request #11791 from demarches-simplifiees/add_new_fc_callbacks
ETQ Operateur, le endpoint FC redirect_uris renvoit aussi les prochaines urls de callback
2 parents 00dda87 + a6a11cc commit 8f29e2b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

app/controllers/france_connect_controller.rb

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,12 +150,16 @@ def redirect_uris
150150
# rubocop:disable DS/ApplicationName
151151
ds_dev_redirect_uris = [
152152
'https://dev.demarches-simplifiees.fr/france_connect/particulier/callback',
153-
'https://dev.demarches.numerique.gouv.fr/france_connect/particulier/callback'
153+
'https://dev.demarches-simplifiees.fr/france_connect/callback',
154+
'https://dev.demarches.numerique.gouv.fr/france_connect/particulier/callback',
155+
'https://dev.demarches.numerique.gouv.fr/france_connect/callback'
154156
]
155157

156158
ds_prod_redirect_uris = [
157159
'https://www.demarches-simplifiees.fr/france_connect/particulier/callback',
158-
'https://demarches.numerique.gouv.fr/france_connect/particulier/callback'
160+
'https://www.demarches-simplifiees.fr/france_connect/callback',
161+
'https://demarches.numerique.gouv.fr/france_connect/particulier/callback',
162+
'https://demarches.numerique.gouv.fr/france_connect/callback'
159163
]
160164

161165
is_ds_dev = Current.host.include?('dev.demarches-simplifiees.fr') ||

0 commit comments

Comments
 (0)