nahimov
24.Сентябрь.2020 07:56:07
1
Привет @david !
Есть ли какие-либо изменения с момента создания этой темы?
Here’s how to configure Discourse to allow login and registration with OneLogin’s SAML.
Configure OneLogin
Create OneLogin account
Go to OneLogin and create an account.
Create new app: SAML Test Connector (IdP w/attr)
From your dashboard create new app.
[image]
Search for SAML Test Connector (IdP w/attr)
[image]
Configure app
Let’s assume that the URL of our Discourse instance is http://discourse.example.com. Let’s configure it.
Switch to Configuration tab and fill out these details…
Меня интересует следующее:
У плагина OAuth2 Basic есть ОДНА БОЛЬШАЯ проблема — если пользователь новый для Discourse, то после аутентификации появляется окно с данными нового пользователя.
У плагина SAML есть опция DISCOURSE_SAML_AUTO_CREATE_ACCOUNT.
А как насчёт плагина OAuth2?
david
(David Taylor)
24.Сентябрь.2020 08:27:47
2
Да, вы можете использовать этот новый параметр:
I just added some new site settings which will help with this. To skip the ‘create new account’ screen, enable sso_overrides_username, sso_overrides_email and sso_overrides_name.
Then to skip the popup completely, enable external_auth_skip_create_confirm
If you don’t see that option, make sure you’re on the latest version of tests-passed.
nahimov
24.Сентябрь.2020 08:34:59
3
Отлично! Спасибо.
Есть ли какие-либо руководства по интеграции Keycloak и плагина OAuth2 для Discourse? Или других IDP…
david
(David Taylor)
24.Сентябрь.2020 08:39:32
4
Я бы посоветовал начать с
Summary
Discourse OpenID Connect allows an OpenID Connect provider to be used as an authentication provider for Discourse.
Install Guide
This plugin is bundled with Discourse core. There is no need to install the plugin separately.
Features
The plugin aims to provide a minimal implementation of the specification . Specifically, it supports the “Authorization Code Flow”. To get started, follow the plugin installation instructions , or contact your hosti…
и найти URL-адрес документа обнаружения OpenID, используя эти инструкции .