simon lehericey
f54dfe6ead
Do not raise error if user is nil
...
I do not get when it happens
2021-10-19 11:21:24 +02:00
simon lehericey
933d7b8c8d
merge with another preexisting account
2021-10-14 14:47:50 +02:00
simon lehericey
ce40e1127d
merge with another new account
2021-10-14 14:47:50 +02:00
simon lehericey
19f81b594b
merge with an existing account by using the password
2021-10-14 14:47:50 +02:00
simon lehericey
218e4633a9
securely retrieve fci
2021-10-14 14:47:50 +02:00
simon lehericey
f7299da1e7
launch merge process if an unlinked DS account with the same email exists
2021-10-14 14:47:50 +02:00
simon lehericey
6826bf03b0
Sign in with a user linked by france connect sub (openid)
...
instead of looking linked user by email because :
- follows FC recommendation to fetch ds account by openid
- the email is not a valid key as many user can share the same FCI email.
The following scenario is now working
A user A (email: 1@mail.com ) uses FC to connect to DS
=> It is connected as 1@mail.com
Another user B (email: generic@mail.com ) uses FC to connect
=> It is connected as generic@mail.com
The first user A change its FC email to generic@mail.com and connect to DS
=> It is still connected as 1@mail.com
2021-10-14 14:47:50 +02:00
simon lehericey
2f470b25aa
spec cleaning
2021-10-14 14:47:50 +02:00
simon lehericey
ccce724976
refactor as created fci must have an user_id
2021-05-05 14:36:34 +02:00
Christophe Robillard
a288a13805
disable france connect authentication for admin and instructeurs
2021-02-10 18:13:47 +01:00
maatinito
9de9a1fd71
Use time.zone functions instead of server time functions
...
(Time.zone.today vs Date.today)
2019-11-26 14:26:36 +01:00
Pierre de La Morinerie
6b27ac8514
france_connect: make existing user lookup case-insensitive
...
Fix #4053
2019-07-09 15:50:28 +02:00
Pierre de La Morinerie
d05bab3df3
france_connect: refactor specs
2019-07-09 15:50:28 +02:00
Pierre de La Morinerie
f5f7dfba40
france_connect: fix for params entirely missing from the callback
...
Fix a Sentry exception encountered in production.
2019-05-13 15:45:12 +02:00
simon lehericey
9475795143
fix spec
2018-10-26 10:10:20 +00:00
simon lehericey
f620e4aee2
DateTime.parse => Time.zone.parse
2018-10-26 10:10:20 +00:00
gregoirenovel
16a719922b
Use enum to the fullest with User.loged_in_with_france_connects
2018-08-29 17:31:08 +02:00
gregoirenovel
b138dcd876
Enable the Layout/SpaceInsideHashLiteralBraces cop
2018-01-18 10:53:35 +01:00
Simon Lehericey
d70b6f4af0
FC ParticulierController: cleaner update attribute
2018-01-17 16:37:26 +01:00
Simon Lehericey
2651c5e029
FC ParticulierControllerSpec: final clean
2018-01-17 16:37:26 +01:00
Simon Lehericey
69c121a879
FC ParticulierControllerSpec: simplify ... well you know
2018-01-17 16:37:26 +01:00
Simon Lehericey
570f779bb2
FC ParticulierControllerSpec: without an associate user, better test
2018-01-17 16:37:26 +01:00
Simon Lehericey
b2f59e2b14
FC ParticulierControllerSpec: simplify without an associate user
2018-01-17 16:37:26 +01:00
Simon Lehericey
e1ac33f420
FC ParticulierControllerSpec: simplifier with an associate user case
2018-01-17 16:37:26 +01:00
Simon Lehericey
49f5d570ed
FC ParticulierControllerSpec: mutualize subject
2018-01-17 16:37:26 +01:00
Simon Lehericey
ab02f796b3
FC ParticulierControllerSpec: one liner expectation
2018-01-17 16:37:26 +01:00
Simon Lehericey
4008d8e44d
FC ParticulierControllerSpec: remove unless context
2018-01-17 16:37:26 +01:00
Simon Lehericey
28bf45e536
FC ParticulierControllerSpec: use controller to store_location
2018-01-17 16:37:26 +01:00
Simon Lehericey
ab116895b7
FC ParticulierControllerSpec: remove one context
2018-01-17 16:37:26 +01:00
simon lehericey
4f86b6305b
FC ParticulierControllerSpec: callback handle empty string
2018-01-17 16:37:26 +01:00
simon lehericey
9b6b6bde97
FC ParticulierControllerSpec: simplier auth spec
2018-01-17 16:37:26 +01:00
simon lehericey
02dd1e209c
FC ParticulierController: implement auto reconciliation based on user email
2018-01-17 16:37:26 +01:00
simon lehericey
7cbd6ed067
FC ParticulierController: create is private
...
yep, I know this is strange
2018-01-17 16:37:26 +01:00
simon lehericey
02395e732c
FC service: return domain info
2018-01-15 17:14:12 +01:00
Mathieu Magnin
6777b51331
rename login css to auth, since it will also be used by sign up
2017-06-21 17:38:34 +02:00
Xavier J
da3ef13522
Fix tests spec/controllers/france_connect/*.rb
2016-11-15 04:42:32 +01:00
Xavier J
4d812220fd
- Add FranceConnectInformation table to make safe FranceConnect pivot identity.
...
- Adapt source code with the new table
2016-01-21 17:06:09 +01:00
Xavier J
e8fd212d13
- Code review
...
- Delete Mandataires sociaux adapter
- Add function to get mandataires sociaux in Enterprise Adapter
2016-01-19 17:19:38 +01:00
Xavier J
4961f39a71
Add check password to connect with france connect particulier whereas a TPS account have the same email adresse
2016-01-05 12:18:00 +01:00
Xavier J
9e0dfb593e
Add FranceConnect Particulier
...
Reactivate FranceConnect Entreprise
2015-12-24 10:12:23 +01:00