nahimov
September 24, 2020, 7:56am
1
Hello @david !
Are there any changes since this topic?
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âŚ
I am interested in this:
With OAuth2 Basic Plugin have one BIG problem - if the user is new to Discourse, then, after authentication, a window appears with the data of the new user.
The SAML plugin has an option DISCOURSE_SAML_AUTO_CREATE_ACCOUNT
.
But what about OAuth2
plugin?
david
(David Taylor)
September 24, 2020, 8:27am
2
Yes you can use this new setting:
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 Like
nahimov
September 24, 2020, 8:34am
3
Great! Thanks.
Is there any guides how to integrate Keycloak and Discourse OAuth2 plugin? Or other IDPâŚ
david
(David Taylor)
September 24, 2020, 8:39am
4
I would suggest starting with
And finding the openid discovery document URL using these instructions
3 Likes