nahimov
Setembro 24, 2020, 7:56am
1
Olá @david !
Houve alguma mudança desde este tópico?
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…
Estou interessado nisso:
Com o plugin OAuth2 Basic, tenho um GRANDE problema: se o usuário for novo no Discourse, após a autenticação, uma janela aparece com os dados do novo usuário.
O plugin SAML tem a opção DISCOURSE_SAML_AUTO_CREATE_ACCOUNT.
Mas e quanto ao plugin OAuth2?
david
(David Taylor)
Setembro 24, 2020, 8:27am
2
Sim, você pode usar essa nova configuração:
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 curtida
nahimov
Setembro 24, 2020, 8:34am
3
Ótimo! Obrigado.
Há algum guia sobre como integrar o Keycloak com o plugin OAuth2 do Discourse? Ou outro provedor de identidade (IDP)…
david
(David Taylor)
Setembro 24, 2020, 8:39am
4
Sugiro começar com
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 encontrar a URL do documento de descoberta do OpenID usando estas instruções
3 curtidas