Debian Codegraph @

doc/sources/admin/authopenidconnect_franceconnect.rst

raw
1 France Connect
2 ==============
3
4 |image0|
5
6 Presentation
7 ------------
8
9 `France Connect <https://doc.integ01.dev-franceconnect.fr/>`__ is an
10 authentication platform made by French government.
11
12
13 .. attention::
14
15 It is for the moment only in BETA stage. This
16 documentation will explain how to configure LL::NG with the developer
17 reserved space.
18
19 Register on France Connect
20 --------------------------
21
22 Once :doc:`OpenID Connect service<openidconnectservice>` is configured,
23 you need to register to France Connect.
24
25 Use the following form:
26 https://doc.integ01.dev-franceconnect.fr/inscription.
27
28 You need to provide the callback URLs, for example
29 https://auth.domain.com/?openidconnectcallback=1.
30
31 You will then get a ``client_id`` and a ``client_secret``.
32
33 Declare France Connect in your LL::NG server
34 --------------------------------------------
35
36 Go in Manager and create a new OpenID Connect provider. You can call it
37 ``france-connect`` for example.
38
39 Click on ``Metadata`` and set manually the metadata of the service,
40 using `France Connect
41 endpoints <https://doc.integ01.dev-franceconnect.fr/fournisseur-service>`__.
42 For example:
43
44 .. code-block:: javascript
45
46 {
47 "issuer": "https://fcp.integ01.dev-franceconnect.fr",
48 "authorization_endpoint": "https://fcp.integ01.dev-franceconnect.fr/api/v1/authorize",
49 "token_endpoint": "https://fcp.integ01.dev-franceconnect.fr/api/v1/token",
50 "userinfo_endpoint": "https://fcp.integ01.dev-franceconnect.fr/api/v1/userinfo",
51 "end_session_endpoint":"https://fcp.integ01.dev-franceconnect.fr/api/v1/logout"
52 }
53
54 You can skip JWKS data, they are not provided by France Connect. The
55 security relies on the symmetric key ``client_secret``.
56
57 Go in ``Exported attributes`` to choose which attributes from "identité
58 pivot" you want to collect. See
59 https://doc.integ01.dev-franceconnect.fr/identite-pivot
60
61 Now go in ``Options``:
62
63 - In ``Configuration``, register the ``client_id`` and
64 ``client_secret`` given by France Connect
65 - In ``Protocol``, adapt the ``scope`` to the exported attributes you
66 want. See https://doc.integ01.dev-franceconnect.fr/fs-scopes
67 - In ``Display``, you can set the name and the logo
68
69 .. |image0| image:: /applications/franceconnect_logo.png
70 :class: align-center
71