Bonjour @david !
Y a-t-il eu des changements depuis ce sujet ?
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…
Je m’intéresse à ceci :
Avec le plugin OAuth2 Basic, il y a un GROS problème : si l'utilisateur est nouveau sur Discourse, alors, après l'authentification, une fenêtre apparaît avec les données du nouvel utilisateur.
Le plugin SAML possède une option DISCOURSE_SAML_AUTO_CREATE_ACCOUNT.
Mais qu’en est-il du plugin OAuth2 ?
david
(David Taylor)
Septembre 24, 2020, 8:27
2
Oui, vous pouvez utiliser ce nouveau paramètre :
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.
1 « J'aime »
Super ! Merci.
Y a-t-il des guides sur la façon d’intégrer Keycloak et le plugin OAuth2 de Discourse ? Ou un autre fournisseur d’identité (IDP)…
david
(David Taylor)
Septembre 24, 2020, 8:39
4
Je vous suggère de commencer par
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…
et de trouver l’URL du document de découverte OpenID en suivant ces instructions .
3 « J'aime »