# SSO

**URL:** https://meta.discourse.org/c/support/sso/24.md?page=9

[Latest](https://meta.discourse.org/latest.md) · [Categories](https://meta.discourse.org/categories.md) · [Tags](https://meta.discourse.org/tags.md)

**Page:** 10

---

## [DiscourseConnect / SSO. Force users to provide an email after redirecting from the parent website](https://meta.discourse.org/t/discourseconnect-sso-force-users-to-provide-an-email-after-redirecting-from-the-parent-website/238853)

<div class="topic-metadata">

**Author:** [@Maxpain](https://meta.discourse.org/u/Maxpain)\
**Replies:** 0\
**Last updated:** [September 13, 2022, 6:08am UTC](https://meta.discourse.org/t/discourseconnect-sso-force-users-to-provide-an-email-after-redirecting-from-the-parent-website/238853 "2022-09-13T06:08:55Z")

</div>

Hi. We authenticate our users via our website, but we don’t have emails on our side, so we pass a fake email field in sso payload (${userId}@no-email.invalid). Is it possible to force new users to specify their email a…

---

## [Primary Email and Discourse SSO](https://meta.discourse.org/t/primary-email-and-discourse-sso/238802)

<div class="topic-metadata">

**Author:** [@Daniel\_Schroeder](https://meta.discourse.org/u/Daniel_Schroeder)\
**Replies:** 0\
**Last updated:** [September 12, 2022, 5:13pm UTC](https://meta.discourse.org/t/primary-email-and-discourse-sso/238802 "2022-09-12T17:13:55Z")

</div>

At my company, we use SSO to allow students to sign in to our help forums using the email they provided when signing up for our service. This works fine unless we have siblings sign up with the same email address. When t…

---

## [Adding SSO after many users already signed up -- how to migrate them?](https://meta.discourse.org/t/adding-sso-after-many-users-already-signed-up-how-to-migrate-them/232240)

<div class="topic-metadata">

**Author:** [@EGreg](https://meta.discourse.org/u/EGreg)\
**Replies:** 17\
**Last updated:** [September 11, 2022, 9:45pm UTC](https://meta.discourse.org/t/adding-sso-after-many-users-already-signed-up-how-to-migrate-them/232240 "2022-09-11T21:45:15Z")

</div>

Hi all. What is the proper way to import all existing Discourse users to intercoin.app from Discourse? Is there some sort of REST endpoint that returns all users with their hashed passwords and salts, among other things…

---

## [Can plugin oauth2-basic convert text to json?](https://meta.discourse.org/t/can-plugin-oauth2-basic-convert-text-to-json/237618)

<div class="topic-metadata">

**Author:** [@qinyj](https://meta.discourse.org/u/qinyj)\
**Replies:** 2\
**Last updated:** [September 8, 2022, 4:24pm UTC](https://meta.discourse.org/t/can-plugin-oauth2-basic-convert-text-to-json/237618 "2022-09-08T16:24:48Z")

</div>

To log in with WECHAT account, I tried to use plugin oatuh2-basic but meet a problem. Usually, WECHAT server should return applicaion/json, then the plugin can read USID in the json string. Unfortunatly, the server jus…

---

## [How to use Linkedin account to sign in to the Discourse?](https://meta.discourse.org/t/how-to-use-linkedin-account-to-sign-in-to-the-discourse/39994)

<div class="topic-metadata">

**Author:** [@mansoorix](https://meta.discourse.org/u/mansoorix)\
**Replies:** 3\
**Last updated:** [February 24, 2017, 8:11pm UTC](https://meta.discourse.org/t/how-to-use-linkedin-account-to-sign-in-to-the-discourse/39994 "2017-02-24T20:11:44Z")

</div>

Hi folks, I know that it is possible to use Google, Twitter, Facebook and etc account to sign in to the Discourse. But I was wondering how I can set up Linkedin account to do so? Sorry if it is a dumb question. I am qui…

---

## [Enabling Login to Discourse from a third party api](https://meta.discourse.org/t/enabling-login-to-discourse-from-a-third-party-api/237130)

<div class="topic-metadata">

**Author:** [@Test-User](https://meta.discourse.org/u/Test-User)\
**Replies:** 4\
**Last updated:** [August 25, 2022, 11:10am UTC](https://meta.discourse.org/t/enabling-login-to-discourse-from-a-third-party-api/237130 "2022-08-25T11:10:18Z")

</div>

We are using Discourse for our own two applications for SSO Login. Now we have a requirement that a third party app, need to access our application. Here the control passes on internally as a rest call and it is required…

---

## [Ghost & Discourse SSO implementation](https://meta.discourse.org/t/ghost-discourse-sso-implementation/236934)

<div class="topic-metadata">

**Author:** [@satonotdead](https://meta.discourse.org/u/satonotdead)\
**Replies:** 15\
**Last updated:** [August 24, 2022, 12:34am UTC](https://meta.discourse.org/t/ghost-discourse-sso-implementation/236934 "2022-08-24T00:34:08Z")

</div>

It won’t supposed to work on Cloudflare basic plan? It can be implemented from Nginx? We are planning to use SSO with Ghost and I see that same domain is more easy and sustaniable.

---

## [Bad automatic choosing of username when using SSO (DiscourseConnect)](https://meta.discourse.org/t/bad-automatic-choosing-of-username-when-using-sso-discourseconnect/236535)

<div class="topic-metadata">

**Author:** [@wlandgraf](https://meta.discourse.org/u/wlandgraf)\
**Replies:** 1\
**Last updated:** [August 18, 2022, 5:34pm UTC](https://meta.discourse.org/t/bad-automatic-choosing-of-username-when-using-sso-discourseconnect/236535 "2022-08-18T17:34:37Z")

</div>

I’m using SSO (DiscourseConnect) with my Discourse, and it works fine, except for one thing: my SSO is e-mail based, so users just choose e-mail, password and that’s it. So my SSO returns just the e-mail, not an usernam…

---

## [Display FullName instead of UserName in the Profile](https://meta.discourse.org/t/display-fullname-instead-of-username-in-the-profile/233857)

<div class="topic-metadata">

**Author:** [@Pandiyan](https://meta.discourse.org/u/Pandiyan)\
**Replies:** 13\
**Last updated:** [August 4, 2022, 10:41am UTC](https://meta.discourse.org/t/display-fullname-instead-of-username-in-the-profile/233857 "2022-08-04T10:41:34Z")

</div>

I would like to know how can I display Name/FullName in every place of the discourse and also in Profile Pic place(Should be first letter of the fullname) instead of displaying Username. Since we are using sso login, cu…

---

## [How can we disable 2FA for an user while we are using google auth2 login in Discourse?](https://meta.discourse.org/t/how-can-we-disable-2fa-for-an-user-while-we-are-using-google-auth2-login-in-discourse/234414)

<div class="topic-metadata">

**Author:** [@Swarndeep\_Poddar](https://meta.discourse.org/u/Swarndeep_Poddar)\
**Replies:** 2\
**Last updated:** [July 29, 2022, 4:55pm UTC](https://meta.discourse.org/t/how-can-we-disable-2fa-for-an-user-while-we-are-using-google-auth2-login-in-discourse/234414 "2022-07-29T16:55:50Z")

</div>

How can we disable 2FA for an user while we are using google auth2 login in Discourse?

---

## [Open ID Connect Troubleshooting](https://meta.discourse.org/t/open-id-connect-troubleshooting/224063)

<div class="topic-metadata">

**Author:** [@sports\_dev](https://meta.discourse.org/u/sports_dev)\
**Replies:** 3\
**Last updated:** [July 28, 2022, 2:52pm UTC](https://meta.discourse.org/t/open-id-connect-troubleshooting/224063 "2022-07-28T14:52:39Z")

</div>

Hello I’m working with a high-traffic self-hosted instance of Discourse. It’s hosted on Digital Ocean. It uses the discourse-openid-connect plugin and Auth0 to do authentication. For authorization we use a third-party …

---

## [Is it possible?](https://meta.discourse.org/t/is-it-possible/234221)

<div class="topic-metadata">

**Author:** [@Lai\_Chau\_Koi](https://meta.discourse.org/u/Lai_Chau_Koi)\
**Replies:** 12\
**Last updated:** [July 28, 2022, 9:22am UTC](https://meta.discourse.org/t/is-it-possible/234221 "2022-07-28T09:22:05Z")

</div>

Hello, members! Hope you are all doing well. I built one discourse forum and tried to connect with my Web site(ASP.NET). First, I used Discourse-Connect and success, however, with it users can’t log in and sign up in …

---

## [Is there a way to use both local login and discourseConnect?](https://meta.discourse.org/t/is-there-a-way-to-use-both-local-login-and-discourseconnect/234168)

<div class="topic-metadata">

**Author:** [@Swarndeep\_Poddar](https://meta.discourse.org/u/Swarndeep_Poddar)\
**Replies:** 1\
**Last updated:** [July 27, 2022, 4:58pm UTC](https://meta.discourse.org/t/is-there-a-way-to-use-both-local-login-and-discourseconnect/234168 "2022-07-27T16:58:16Z")

</div>

Is there a way to use both local login and discourseConnect?

---

## [Error 419 when Attempting DiscourseConnect, JavaScript](https://meta.discourse.org/t/error-419-when-attempting-discourseconnect-javascript/233885)

<div class="topic-metadata">

**Author:** [@Nathan\_Suh](https://meta.discourse.org/u/Nathan_Suh)\
**Replies:** 1\
**Last updated:** [July 25, 2022, 1:32pm UTC](https://meta.discourse.org/t/error-419-when-attempting-discourseconnect-javascript/233885 "2022-07-25T13:32:01Z")

</div>

I get this error when I try to sign up a new account with DiscourseConnect, error 419 in console. My return URL looks like this: https://discourse.\[myForum\].com/session/sso\_login?sso=bm9uY2UlM0RjOTU0OTIxMmE4YTY0MzEzN…

---

## [3rd Party Login- without admin access](https://meta.discourse.org/t/3rd-party-login-without-admin-access/233759)

<div class="topic-metadata">

**Author:** [@aidanohart](https://meta.discourse.org/u/aidanohart)\
**Replies:** 3\
**Last updated:** [July 23, 2022, 8:14pm UTC](https://meta.discourse.org/t/3rd-party-login-without-admin-access/233759 "2022-07-23T20:14:35Z")

</div>

Hello, I want to create a website where a user can login with a specific discourse’s site and redirect back to my website with some basic information such as the username, avatar, email & the user id. However, the main …

---

## [SSO Broken - The requested URL or resource could not be found](https://meta.discourse.org/t/sso-broken-the-requested-url-or-resource-could-not-be-found/231230)

<div class="topic-metadata">

**Author:** [@davidkingham](https://meta.discourse.org/u/davidkingham)\
**Replies:** 8\
**Last updated:** [July 22, 2022, 1:50pm UTC](https://meta.discourse.org/t/sso-broken-the-requested-url-or-resource-could-not-be-found/231230 "2022-07-22T13:50:15Z")

</div>

I use Memberful as my SSO and after a rebuild today I started getting the error “The requested URL or resource could not be found.” when logging in to Discourse, I can’t even get into the admin side now. I am able to log…

---

## [Any suggestions for troubleshooting when Microsoft Auth pulls in the wrong email address?](https://meta.discourse.org/t/any-suggestions-for-troubleshooting-when-microsoft-auth-pulls-in-the-wrong-email-address/233002)

<div class="topic-metadata">

**Author:** [@wesochuck](https://meta.discourse.org/u/wesochuck)\
**Replies:** 3\
**Last updated:** [July 18, 2022, 3:46pm UTC](https://meta.discourse.org/t/any-suggestions-for-troubleshooting-when-microsoft-auth-pulls-in-the-wrong-email-address/233002 "2022-07-18T15:46:33Z")

</div>

We’re using the following plugin from @cpradio for Microsoft Authentication: Microsoft Authentication We have a user reporting that when they try to login, the system attempts to use their user@our-tenant.onmicrosoft.co…

---

## [Users unable to login with Discourse Connect](https://meta.discourse.org/t/users-unable-to-login-with-discourse-connect/212773)

<div class="topic-metadata">

**Author:** [@pawan](https://meta.discourse.org/u/pawan)\
**Replies:** 5\
**Last updated:** [July 8, 2022, 8:50am UTC](https://meta.discourse.org/t/users-unable-to-login-with-discourse-connect/212773 "2022-07-08T08:50:34Z")

</div>

It is a Docker-based set up. SSO login used to work seamlessly until I restarted the server. Now, every time user tries to log in, the user is shown this TimeOut Error. What I have tried so far - Changed the secret…

---

## [Is there a way to handle identity management from the idP?](https://meta.discourse.org/t/is-there-a-way-to-handle-identity-management-from-the-idp/304274)

<div class="topic-metadata">

**Author:** [@Ben\_Garrison](https://meta.discourse.org/u/Ben_Garrison)\
**Replies:** 2\
**Last updated:** [July 7, 2022, 7:44pm UTC](https://meta.discourse.org/t/is-there-a-way-to-handle-identity-management-from-the-idp/304274 "2022-07-07T19:44:10Z")

</div>

Is there a way to handle identity management from the idP? This is great for SSO, and JIT. I would like to take deprovisioning steps based on identity state. Normally, this would be a SCIM integration, not sure if Discou…

---

## [Discourse Membership Synced with Member Status in other system (WHMCS)](https://meta.discourse.org/t/discourse-membership-synced-with-member-status-in-other-system-whmcs/232149)

<div class="topic-metadata">

**Author:** [@kpurcell](https://meta.discourse.org/u/kpurcell)\
**Replies:** 3\
**Last updated:** [July 6, 2022, 11:37pm UTC](https://meta.discourse.org/t/discourse-membership-synced-with-member-status-in-other-system-whmcs/232149 "2022-07-06T23:37:31Z")

</div>

We run a very large makerspace and the membership is managed in WHMCS (yes a weird tool for managing memberships since it is a web hosting/billing system). My question is, is Discourse Connect an appropriate pathway to d…

---

## [Discourse Connect does not auto login anymore](https://meta.discourse.org/t/discourse-connect-does-not-auto-login-anymore/231904)

<div class="topic-metadata">

**Author:** [@Himanshu\_Singh](https://meta.discourse.org/u/Himanshu_Singh)\
**Replies:** 5\
**Last updated:** [July 6, 2022, 6:45pm UTC](https://meta.discourse.org/t/discourse-connect-does-not-auto-login-anymore/231904 "2022-07-06T18:45:13Z")

</div>

I have the following set up: WordPress as the main site with Discourse Connect setup using WP Discourse Discourse as the child site where login and registration only happens from WordPress instance. Earlier: When use…

---

## [SSO Callback closes connection (0 bytes sent by server); used logged out of impersonation previously](https://meta.discourse.org/t/sso-callback-closes-connection-0-bytes-sent-by-server-used-logged-out-of-impersonation-previously/229064)

<div class="topic-metadata">

**Author:** [@simon.michalke](https://meta.discourse.org/u/simon.michalke)\
**Replies:** 7\
**Last updated:** [July 5, 2022, 10:27am UTC](https://meta.discourse.org/t/sso-callback-closes-connection-0-bytes-sent-by-server-used-logged-out-of-impersonation-previously/229064 "2022-07-05T10:27:51Z")

</div>

(Note, this was also reported here: Connection lost during callback · Issue #28 · habi-dat/discoursesso · GitHub) Hello, we are having a very weird issue with our Discourse SSO. Ever since one user logged out of impers…

---

## [Log out user API](https://meta.discourse.org/t/log-out-user-api/231935)

<div class="topic-metadata">

**Author:** [@Kenshin](https://meta.discourse.org/u/Kenshin)\
**Replies:** 0\
**Last updated:** [July 5, 2022, 4:23am UTC](https://meta.discourse.org/t/log-out-user-api/231935 "2022-07-05T04:23:20Z")

</div>

I’ve setup Discourse and working great, except for one thing. I’m using SSO and I’m unable to log a user out using the API. I am able to retrieve the user account using the user id, but calling the log out api returns a…

---

## [What is supposed to go in “DISCOURSE\_HOST”?](https://meta.discourse.org/t/what-is-supposed-to-go-in-discourse-host/253933)

<div class="topic-metadata">

**Author:** [@nachocardozop](https://meta.discourse.org/u/nachocardozop)\
**Replies:** 4\
**Last updated:** [July 4, 2022, 9:44am UTC](https://meta.discourse.org/t/what-is-supposed-to-go-in-discourse-host/253933 "2022-07-04T09:44:20Z")

</div>

Hi Robin, quick question: The callback URL I have been using is https://1.hosted-by-discourse.com/auth/oauth2\_basic/callback - and it doesn’t seem to be working. Does it look like I’m doing anything wrong? What is sup…

---

## [Any fallback available for failed SSO?](https://meta.discourse.org/t/any-fallback-available-for-failed-sso/231483)

<div class="topic-metadata">

**Author:** [@Phaelax\_z](https://meta.discourse.org/u/Phaelax_z)\
**Replies:** 2\
**Last updated:** [June 29, 2022, 10:59pm UTC](https://meta.discourse.org/t/any-fallback-available-for-failed-sso/231483 "2022-06-29T22:59:23Z")

</div>

I’ve set up discourse connect to authenticate users with our AD through a custom script. I have some external users who may not be in our AD but still would need access to discourse. If the SSO script fails to locate th…

---

## [OAuth2 csrf\_detected with Discord 'Connect' functionality](https://meta.discourse.org/t/oauth2-csrf-detected-with-discord-connect-functionality/226991)

<div class="topic-metadata">

**Author:** [@FerrariFlunker](https://meta.discourse.org/u/FerrariFlunker)\
**Replies:** 14\
**Last updated:** [June 16, 2022, 12:38pm UTC](https://meta.discourse.org/t/oauth2-csrf-detected-with-discord-connect-functionality/226991 "2022-06-16T12:38:36Z")

</div>

Hello! I’m in desperate need of some help with figuring out this error: Steps to reproduce: When a user clicks on their Discord “Connect” button in Preferences, it correctly redirects the user to Discord’s aut…

---

## [Single sign-on sticks despite deleting the Discourse plugin](https://meta.discourse.org/t/single-sign-on-sticks-despite-deleting-the-discourse-plugin/229910)

<div class="topic-metadata">

**Author:** [@Feddy2021](https://meta.discourse.org/u/Feddy2021)\
**Replies:** 3\
**Last updated:** [June 14, 2022, 9:05pm UTC](https://meta.discourse.org/t/single-sign-on-sticks-despite-deleting-the-discourse-plugin/229910 "2022-06-14T21:05:31Z")

</div>

Hello. I first installed the Discourse plugin to benefit from SSO. This was working great, until I caused a problem later today, as I forgot that SSO was already set up and used a different plugin (PrimeTime WP Discourse …

---

## [Problem on SSO Login](https://meta.discourse.org/t/problem-on-sso-login/229920)

<div class="topic-metadata">

**Author:** [@yasham07](https://meta.discourse.org/u/yasham07)\
**Replies:** 4\
**Last updated:** [June 14, 2022, 8:51pm UTC](https://meta.discourse.org/t/problem-on-sso-login/229920 "2022-06-14T20:51:26Z")

</div>

I am successfully created SSO Login. but problem is that whenever I am Login through SSO every time I have to click on Login button. But I found a method that doesn’t require me to click the login button. The solution i…

---

## [SSO and local logins](https://meta.discourse.org/t/sso-and-local-logins/39103)

<div class="topic-metadata">

**Author:** [@sergiy.pavlenko](https://meta.discourse.org/u/sergiy.pavlenko)\
**Replies:** 7\
**Last updated:** [October 27, 2021, 6:50am UTC](https://meta.discourse.org/t/sso-and-local-logins/39103 "2021-10-27T06:50:08Z")

</div>

Hi, all I try connect my site with forum ( discourse ). But, have a problem. If enable SSO in admin panel, user can auth only from SSO ( without local login or social networks ). If I disable SSO, user can auth from loc…

---

## [DiscourseConnect provider does not redirect to return\_url after entering correct id and password](https://meta.discourse.org/t/discourseconnect-provider-does-not-redirect-to-return-url-after-entering-correct-id-and-password/229710)

<div class="topic-metadata">

**Author:** [@Devarsh\_Mavani](https://meta.discourse.org/u/Devarsh_Mavani)\
**Replies:** 1\
**Last updated:** [June 12, 2022, 10:00pm UTC](https://meta.discourse.org/t/discourseconnect-provider-does-not-redirect-to-return-url-after-entering-correct-id-and-password/229710 "2022-06-12T22:00:38Z")

</div>

i have followed steps to enable DiscourseConnect Provider. when i redirect a user to http://localhost:4200/session/sso\_provider?sso=${URL\_ENCODED\_PAYLOAD}&sig=${HEX\_SIGNATURE} it will take me to discourse login dialog …

[Previous page](https://meta.discourse.org/c/support/sso/24.md?page=8)

[Next page](https://meta.discourse.org/c/support/sso/24.md?page=10)
