aboutsummaryrefslogtreecommitdiff
path: root/docs/intranet/auth.rst
blob: d8838888c3e99aca874ef8cdd328482d28841366 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Authentication
==============

The intranet provides authentication for itself through a login page, and
other services as a central authentication service.

Once the registration process for a person in charge is complete, this person
will receive an e-mail from `adherents@sgdf.fr <mailto:adherents@sgdf.fr>`_
with their adherent code, which serves as a login name, and a default
password:

.. image:: auth-mailids.png

These credentials can be used for the intranet and the approved external
services using it to authenticate and identify users.

Internal authentication
-----------------------

Authentification goes through the ``/Default.aspx`` page as a normal form.
The following arguments are taken:

``ctl00$MainContent$login``
	The login name, i.e. the adherent code.

``ctl00$MainContent$password``
	The password.

If the credentials are valid, the user is redirected to ``/Accueil.aspx``,
otherwise the same page is loaded with a warning, amongst:

``Identifiant invalide``
	The identifier is invalid.

``Mot de passe invalide``
	The password is invalid.

``Le compte associé à l'identifiant 'XXXXXXXXX' ne donne pas le droit d'utiliser cette application``
	The given identifier doesn't allow to login (e.g. ``160000000``).

External authentication
-----------------------

Authentication can be provided to approved services through a Web Service,
`Authentification.asmx`_. Example services using this external authentication
service are:

- `<http://decouverte.sgdf.fr/>`_:

  .. image:: auth-decouverte.png
- `<https://petitions.sgdf.fr/>`_:

  .. image:: auth-petitions.png
- `<https://valorise-toi.sgdf.fr/>`_:

  .. image:: auth-valorise.png

.. _Authentification.asmx: https://intranet.sgdf.fr/Specialisation/Sgdf/WebServices/Authentification.asmx