Debian Codegraph @

doc/sources/admin/authopenid.rst

raw
1 OpenID
2 ======
3
4 ============== ===== ========
5 Authentication Users Password
6 ============== ===== ========
7 ✔ ✔
8 ============== ===== ========
9
10
11 .. danger::
12
13 OpenID protocol is deprecated. You should now use
14 :doc:`OpenID Connect<authopenidconnect>`.
15
16 Presentation
17 ------------
18
19 LL::NG can delegate authentication to an OpenID server. This requires
20 `Perl OpenID consumer
21 module <http://search.cpan.org/~mart/Net-OpenID-Consumer/>`__ with at
22 least version 1.0.
23
24
25 .. tip::
26
27 LL::NG can also act as :doc:`OpenID server<idpopenid>`, that
28 allows one to interconnect two LL::NG systems.
29
30 LL::NG will then display a form with an OpenID input, where users will
31 type their OpenID login.
32
33
34 .. tip::
35
36 OpenID authentication can proposed as an alternate
37 authentication scheme using the :doc:`authentication choice<authchoice>`
38 method.
39
40 LL::NG can use a white list or a black list to filter allowed OpenID
41 domains.
42
43 If OpenID is used as users database, attributes will be requested to the
44 server with SREG extension.
45
46 Configuration
47 -------------
48
49 In Manager, go in ``General Parameters`` > ``Authentication modules``
50 and choose OpenID for authentication and/or users.
51
52 Then, go in ``OpenID parameters``:
53
54 - **Authentication level**: authentication level for this module.
55 - **Secret token**: used to check integrity of OpenID response.
56 - **Authorized domain**:
57
58 - **List type**: choose white list to define allowed domains or
59 black list to define forbidden domains
60 - **List**: domains list (comma separated values)
61
62 To configure requested attributes, edit **Exported variables** and
63 define attributes:
64
65 - **Key**: internal session key, can be prefixed by ``!`` to make the
66 attribute required
67 - **Value**: SREG attribute name:
68
69 - fullname
70 - nickname
71 - language
72 - postcode
73 - timezone
74 - country
75 - gender
76 - email
77 - dob
78
79 See also :doc:`exported variables configuration<exportedvars>`.
80
81
82 .. attention::
83
84 Browser implementations of formAction directive are inconsistent
85 (e.g. Firefox doesn't block the redirects whereas Chrome
86 does). Administrators may have to modify formAction value with wildcard
87 likes \*.
88
89 In Manager, go in:
90
91 ``General Parameters`` > ``Advanced Parameters`` > ``Security`` >
92 ``Content Security Policy`` > ``Form destination``