{% extends "base.j2" %} {% import 'wtf.j2' as wtf %} {% block styles %} {{super()}} {% endblock %} {% block app_content %}

Configuration du Service d'Authentification Central (CAS)

Le CAS permet d'utiliser un service SSO pour connecter les utilisateurs.

{{ form.hidden_tag() }} {{ wtf.form_errors(form, hiddens="only") }} {{ wtf.form_field(form.cas_enable) }} {{ wtf.form_field(form.cas_force) }} {{ wtf.form_field(form.cas_allow_for_new_users) }}
Routes CAS
{{ wtf.form_field(form.cas_server) }} {{ wtf.form_field(form.cas_login_route) }} {{ wtf.form_field(form.cas_logout_route) }} {{ wtf.form_field(form.cas_validate_route) }}
{{ wtf.form_field(form.cas_attribute_id) }}
Identifiant utilisateur CAS
Ces paramètres sont utilisés pour déduire l'identifiant CAS des utilisateurs ScoDoc au moment de la création ou modification de comptes utilisateurs. Pour modifier les comptes existants en masse, il peut être pratique de passer par un export/import excel.
{{ wtf.form_field(form.cas_uid_from_mail_regexp) }} {{ wtf.form_field(form.cas_uid_use_scodoc) }}
{{ wtf.form_field(form.cas_edt_id_from_xml_regexp) }}
Certificat serveur CAS
{{ wtf.form_field(form.cas_ssl_verify) }} {{ wtf.form_field(form.cas_ssl_certificate_file) }}
Certificat SSL {% if cas_ssl_certificate_loaded %} chargé. {% else %} non chargé. {% endif %}
{{ wtf.form_field(form.submit) }} {{ wtf.form_field(form.cancel) }}
ℹ️ Note: si le CAS est forcé, le super-admin et les utilisateurs autorisés à "se connecter via ScoDoc" pourront toujours se connecter via l'adresse spéciale {{url_for("auth.login_scodoc", _external=True)}}
{% endblock %}