nahimov
24 Settembre 2020, 7:56am
1
Ciao @david !
Ci sono state modifiche da quando è stato creato questo argomento?
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…
Sono interessato a questo:
Con il plugin OAuth2 Basic c'è un PROBLEMA GIGANTE: se l'utente è nuovo su Discourse, dopo l'autenticazione appare una finestra con i dati del nuovo utente.
Il plugin SAML ha un’opzione DISCOURSE_SAML_AUTO_CREATE_ACCOUNT.
Ma che dire del plugin OAuth2?
david
(David Taylor)
24 Settembre 2020, 8:27am
2
Sì, puoi utilizzare questa nuova impostazione:
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 Settembre 2020, 8:34am
3
Ottimo! Grazie.
Esistono delle guide su come integrare Keycloak e il plugin OAuth2 di Discourse? O altri IDP…
david
(David Taylor)
24 Settembre 2020, 8:39am
4
Consiglio di iniziare con
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…
e di trovare l’URL del documento di scoperta OpenID seguendo queste istruzioni