{% extends "admin_layout.html" %} {% import "_page.html" as page_ui %} {% block title %}Spark - Single sign-on{% endblock %} {% block page %}
{{ page_ui.header("Single sign-on", "Let people sign in through your organisation's identity provider.") }} {% include "_page_messages.html" %} {% if guard %}
{% if guard.default_sso_only %}

The default sign-in method, which every user without one of their own follows, is single sign-on only. Change the default to another method as well.

{% endif %} {% if guard.users %}

These people sign in only through single sign-on. Open each one and change their sign-in method:

{% endif %}
{% endif %} {% if confirm_users %}
    {% for user in confirm_users %}
  • {{ user.email }}{% if user.display_name %} ({{ user.display_name }}){% endif %}
  • {% endfor %}
{% if secret_dropped %}

The new client secret you entered was not saved. Enter it again if you still want it.

{% endif %}
{% endif %}
Status
Single sign-on{% if available %}on{% elif enabled %}on, but not fully configured{% else %}off{% endif %}
Client secret{% if secret_set %}A client secret is stored{% else %}No client secret is stored{% endif %}
Redirect URI to register with the provider
{{ callback_url }}

Register Spark with your OpenID Connect provider as a web application with this redirect URI and the scopes openid, email and profile. Single sign-on does not create accounts: a user must be created or invited first.

Set up your identity provider
{% if guide.notes %}

{{ guide.notes }}

{% endif %}
    {% for step in guide.steps %}
  1. {{ step.title }}

    {{ step.text }}

    {% for name, value in step.values.items() %}
    {{ value_labels.get(name, name) }} {{ value }}
    {% endfor %} {% for item in step.copy_back %} {% endfor %}
  2. {% endfor %}
Settings
Exactly as the provider's discovery document states it, trailing slash included.{% if copy_steps.issuer_url %} From step {{ copy_steps.issuer_url }} of the steps above.{% endif %}
{% if copy_steps.client_id %}
From step {{ copy_steps.client_id }} of the steps above.
{% endif %}
{% if secret_set %}A client secret is stored and is never shown. Leave this blank to keep it, or enter a new one to replace it.{% else %}Stored in the secrets store and never shown again.{% endif %}{% if copy_steps.client_secret %} From step {{ copy_steps.client_secret }} of the steps above.{% endif %}
Test

Checks the saved settings: the client secret, the issuer's discovery document, the signing algorithms and the provider's signing keys. Nobody is signed in.

{% if checks %}
{% if checks_ok %}All checks passed.{% else %}Some checks failed.{% endif %}
{% for check in checks %} {% endfor %}
CheckResult
{{ check.label }}{{ check.result }}
{% endif %}
{% endblock %} {% block scripts %}{% endblock %}