diff --git "a/docs-cs/Vlastn\303\255 aplikace/OIDC + Python Django/mozilla-django-oidc.md" "b/docs-cs/Vlastn\303\255 aplikace/OIDC + Python Django/mozilla-django-oidc.md" index e5d7fc8a54a6a4694a3b31e0754421f2ceb99192..cd8c22a6b7f92360e752d2faf1db8ac7a0859b0e 100644 --- "a/docs-cs/Vlastn\303\255 aplikace/OIDC + Python Django/mozilla-django-oidc.md" +++ "b/docs-cs/Vlastn\303\255 aplikace/OIDC + Python Django/mozilla-django-oidc.md" @@ -65,12 +65,12 @@ Jedná se o knihovnu pro framework Python Django (a Django REST framework), kter 4. Rozhodněte se, jak se budou uživatelské účty v Django aplikaci párovat na data z přihlášení a postupujte podle [odkazovaného návodu](https://mozilla-django-oidc.readthedocs.io/en/stable/installation.html#connecting-oidc-user-identities-to-django-users). 5. Rozhodněte se, jestli se mají uživatelské účty vytvářet automaticky každému přihlášenému uživateli: - - Pokud **ano**, postupujte podle [odkazovaných kroků](https://mozilla-django-oidc.readthedocs.io/en/stable/installation.html#creating-django-users). - - Pokud **ne**, přidejte pouze následující řádek do **settings.py**: + - Pokud **ano**, postupujte podle [odkazovaných kroků](https://mozilla-django-oidc.readthedocs.io/en/stable/installation.html#creating-django-users). + - Pokud **ne**, přidejte pouze následující řádek do **settings.py**: - ```python - OIDC_CREATE_USER = False - ``` + ```python + OIDC_CREATE_USER = False + ``` 6. Pokud má vaše aplikace webové rozhraní, [vložte přihlašovací tlačítko nebo odkaz do stránky](https://mozilla-django-oidc.readthedocs.io/en/stable/installation.html#enable-login-and-logout-functionality-in-templates), např. takto: diff --git "a/docs-cs/Vlastn\303\255 aplikace/SAML + PHP/simplesamlphp.md" "b/docs-cs/Vlastn\303\255 aplikace/SAML + PHP/simplesamlphp.md" index 045aaabec7051414588f8ee65ef08f6a072b2b01..eef71fb58468a439bf537fcea9cf21de5b256be1 100644 --- "a/docs-cs/Vlastn\303\255 aplikace/SAML + PHP/simplesamlphp.md" +++ "b/docs-cs/Vlastn\303\255 aplikace/SAML + PHP/simplesamlphp.md" @@ -12,8 +12,8 @@ SimpleSAMLphp je knihovna v jazyce PHP pro připojení aplikace k poskytovateli ## Konfigurace 1. Nastavte poskytovatele služby. - 1. Připravte si pár klíčů, např. **/var/simplesamlphp/cert/example.key** a **/var/simplesamlphp/cert/example.crt**. - 2. Upravte **config/authsources.php**: + 1. Připravte si pár klíčů, např. **/var/simplesamlphp/cert/example.key** a **/var/simplesamlphp/cert/example.crt**. + 2. Upravte **config/authsources.php**: ```php // ... @@ -38,8 +38,8 @@ SimpleSAMLphp je knihovna v jazyce PHP pro připojení aplikace k poskytovateli ``` 2. Nastavte automatický refresh metadat. - 1. Povolte [dle návodu](https://simplesamlphp.org/docs/contrib_modules/metarefresh/simplesamlphp-automated_metadata.html) moduly **cron** a **metarefresh**. - 2. Nahraďte obsah souboru **config/config-metarefresh.php**: + 1. Povolte [dle návodu](https://simplesamlphp.org/docs/contrib_modules/metarefresh/simplesamlphp-automated_metadata.html) moduly **cron** a **metarefresh**. + 2. Nahraďte obsah souboru **config/config-metarefresh.php**: ```php <?php diff --git a/docs-en/Own server-side applications/OIDC + Python Django/mozilla-django-oidc.md b/docs-en/Own server-side applications/OIDC + Python Django/mozilla-django-oidc.md index 4f60d64d818254f41182cfb01dd70be3393ff8d3..f50b2fd6797e027c50994f987a9c265c236bdc60 100644 --- a/docs-en/Own server-side applications/OIDC + Python Django/mozilla-django-oidc.md +++ b/docs-en/Own server-side applications/OIDC + Python Django/mozilla-django-oidc.md @@ -65,8 +65,8 @@ A library for the Python Django framework (and Django REST framework), which all 4. Decide on how will the user accounts in the Django application be paired to the login data and the follow the [linked instructions](https://mozilla-django-oidc.readthedocs.io/en/stable/installation.html#connecting-oidc-user-identities-to-django-users). 5. Decide on whether user accounts should be assigned automatically to every logged in user. - - If **yes**, follow the [referred instructions](https://mozilla-django-oidc.readthedocs.io/en/stable/installation.html#creating-django-users). - - If **no**, add the following line to the **settings.py** file: + - If **yes**, follow the [referred instructions](https://mozilla-django-oidc.readthedocs.io/en/stable/installation.html#creating-django-users). + - If **no**, add the following line to the **settings.py** file: ```python OIDC_CREATE_USER = False diff --git a/docs-en/Own server-side applications/SAML + PHP/simplesamlphp.md b/docs-en/Own server-side applications/SAML + PHP/simplesamlphp.md index 5d1389a8e598516baa8cb8f34cd2567af4fac7cb..4b278870bd200d33dfd39da6123d661b1c59e7f0 100644 --- a/docs-en/Own server-side applications/SAML + PHP/simplesamlphp.md +++ b/docs-en/Own server-side applications/SAML + PHP/simplesamlphp.md @@ -9,8 +9,8 @@ SimpleSAMLphp is a PHP library that allows connecting applications to an Identit ## Configuration 1. Set up the Service Provider. - 1. Create a key pair, e.g. **/var/simplesamlphp/cert/example.key** and **/var/simplesamlphp/cert/example.crt**. - 2. Edit **config/authsources.php**: + 1. Create a key pair, e.g. **/var/simplesamlphp/cert/example.key** and **/var/simplesamlphp/cert/example.crt**. + 2. Edit **config/authsources.php**: ```php // ... @@ -35,8 +35,8 @@ SimpleSAMLphp is a PHP library that allows connecting applications to an Identit ``` 2. Set up automatic metadata refresh. - 1. Follow [the instructions](https://simplesamlphp.org/docs/contrib_modules/metarefresh/simplesamlphp-automated_metadata.html) to allow the **cron** and **metarefresh** modules. - 2. Replace the contents of the **config/config-metarefresh.php** file: + 1. Follow [the instructions](https://simplesamlphp.org/docs/contrib_modules/metarefresh/simplesamlphp-automated_metadata.html) to allow the **cron** and **metarefresh** modules. + 2. Replace the contents of the **config/config-metarefresh.php** file: ```php <?php