nahimov
24. September 2020 um 07:56
1
Hallo @david !
Gibt es seit diesem Thema Änderungen?
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…
Mich interessiert Folgendes:
Mit dem OAuth2 Basic Plugin habe ich ein großes Problem: Wenn der Benutzer neu in Discourse ist, erscheint nach der Authentifizierung ein Fenster mit den Daten des neuen Benutzers.
Das SAML-Plugin hat die Option DISCOURSE_SAML_AUTO_CREATE_ACCOUNT.
Aber was ist mit dem OAuth2-Plugin?
david
(David Taylor)
24. September 2020 um 08:27
2
Ja, du kannst diese neue Einstellung verwenden:
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. September 2020 um 08:34
3
Toll! Danke.
Gibt es Anleitungen, wie man Keycloak und das Discourse OAuth2-Plugin integriert? Oder andere IDPs?..
david
(David Taylor)
24. September 2020 um 08:39
4
Ich würde empfehlen, mit folgendem Link zu beginnen:
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…
Und die URL des OpenID-Discovery-Dokuments mithilfe dieser Anweisungen zu finden.