# SSO

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

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

**Page:** 8

---

## [How to add custom query parameter in discourse connect url?](https://meta.discourse.org/t/how-to-add-custom-query-parameter-in-discourse-connect-url/239863)

<div class="topic-metadata">

**Author:** [@ujjawal0911](https://meta.discourse.org/u/ujjawal0911)\
**Replies:** 1\
**Last updated:** [April 18, 2023, 4:47pm UTC](https://meta.discourse.org/t/how-to-add-custom-query-parameter-in-discourse-connect-url/239863 "2023-04-18T16:47:46Z")

</div>

We’re trying to integrate discourse with our app that uses React on the frontend and Django on the backend. I want to pass the username or the token of the logged in user in the discourse connect url along with the othe…

---

## [Login oAuth using just phone number](https://meta.discourse.org/t/login-oauth-using-just-phone-number/261947)

<div class="topic-metadata">

**Author:** [@Vivek\_Choksi](https://meta.discourse.org/u/Vivek_Choksi)\
**Replies:** 0\
**Last updated:** [April 17, 2023, 1:40pm UTC](https://meta.discourse.org/t/login-oauth-using-just-phone-number/261947 "2023-04-17T13:40:31Z")

</div>

We want to use SSO for our community. We want to use our company’s login. For my company’s login, we take phone number and validate the same via OTP. Upon successful OTP verification we generate the session. Email id is …

---

## [Getting around a broken oauth setup](https://meta.discourse.org/t/getting-around-a-broken-oauth-setup/261121)

<div class="topic-metadata">

**Author:** [@Bob\_Eberlein](https://meta.discourse.org/u/Bob_Eberlein)\
**Replies:** 2\
**Last updated:** [April 10, 2023, 9:41am UTC](https://meta.discourse.org/t/getting-around-a-broken-oauth-setup/261121 "2023-04-10T09:41:26Z")

</div>

I have a discourse install set up using oauth2 - unfortunately my oauth2 provider is now broken so I need to log in to reset to different oauth2 provider, but I can’t log in because my oauth2 provider is broken. There mu…

---

## [Login automatic without clicking button "login"](https://meta.discourse.org/t/login-automatic-without-clicking-button-login/204368)

<div class="topic-metadata">

**Author:** [@Mohamed\_Kbiri\_Alaoui](https://meta.discourse.org/u/Mohamed_Kbiri_Alaoui)\
**Replies:** 4\
**Last updated:** [April 7, 2023, 6:55pm UTC](https://meta.discourse.org/t/login-automatic-without-clicking-button-login/204368 "2023-04-07T18:55:47Z")

</div>

hi , i follow this OAuth2 Basic Plugin and i have my react website have login with auth0 I want to do one thing if i login in my website and i go in discourse i want login automatic without clicking a button “login” an…

---

## [Eliminate accounts without main user account](https://meta.discourse.org/t/eliminate-accounts-without-main-user-account/127826)

<div class="topic-metadata">

**Author:** [@Kat\_F](https://meta.discourse.org/u/Kat_F)\
**Replies:** 2\
**Last updated:** [September 6, 2019, 6:02pm UTC](https://meta.discourse.org/t/eliminate-accounts-without-main-user-account/127826 "2019-09-06T18:02:47Z")

</div>

I’m sorry if this has been covered somewhere, I’m not really even sure what keywords are usable for this issue. To explain, our Discourse forum is adjunct to another site. Any user on that site can go to the forum links…

---

## [A way to Lock new users to Level 0?](https://meta.discourse.org/t/a-way-to-lock-new-users-to-level-0/34471)

<div class="topic-metadata">

**Author:** [@Becky\_Herndon](https://meta.discourse.org/u/Becky_Herndon)\
**Replies:** 11\
**Last updated:** [April 4, 2023, 3:40pm UTC](https://meta.discourse.org/t/a-way-to-lock-new-users-to-level-0/34471 "2023-04-04T15:40:16Z")

</div>

Is there a setting or programmatic way lock all new users to trust level 0? Why? We want to manually promote accounts from level 0 to 1. All new accounts will be created via SSO. This means every user on our platform c…

---

## [Where could I find the sso specific user settings in my postgres discourse db (e.g. sso\_username, sso\_email; external\_id)](https://meta.discourse.org/t/where-could-i-find-the-sso-specific-user-settings-in-my-postgres-discourse-db-e-g-sso-username-sso-email-external-id/259715)

<div class="topic-metadata">

**Author:** [@kmelchinger](https://meta.discourse.org/u/kmelchinger)\
**Replies:** 2\
**Last updated:** [March 28, 2023, 4:12pm UTC](https://meta.discourse.org/t/where-could-i-find-the-sso-specific-user-settings-in-my-postgres-discourse-db-e-g-sso-username-sso-email-external-id/259715 "2023-03-28T16:12:53Z")

</div>

I would like to delete sso specific values of an individual discourse user direct in the postgres database. I did not find information where this user information is stored (table,column). Hope that someone (devs/mods) …

---

## [Can't login with github](https://meta.discourse.org/t/cant-login-with-github/259253)

<div class="topic-metadata">

**Author:** [@yolwj](https://meta.discourse.org/u/yolwj)\
**Replies:** 2\
**Last updated:** [March 24, 2023, 9:24am UTC](https://meta.discourse.org/t/cant-login-with-github/259253 "2023-03-24T09:24:08Z")

</div>

I just followed the guide to set github login: But failed to login: The network request: Just wondering if anything I’d missed?

---

## [Error of Discourse OpenID Connect](https://meta.discourse.org/t/error-of-discourse-openid-connect/245465)

<div class="topic-metadata">

**Author:** [@Ken95](https://meta.discourse.org/u/Ken95)\
**Replies:** 6\
**Last updated:** [March 22, 2023, 5:57pm UTC](https://meta.discourse.org/t/error-of-discourse-openid-connect/245465 "2023-03-22T17:57:14Z")

</div>

I want to connect an external keycloak provider to my forum. so, I used Discourse OpenID Connect. https://meta.discourse.org/t/discourse-openid-connect/103632/1 but, I got an error message When setting options and con…

---

## [Group setting to nextcloud](https://meta.discourse.org/t/group-setting-to-nextcloud/259064)

<div class="topic-metadata">

**Author:** [@albjeremias](https://meta.discourse.org/u/albjeremias)\
**Replies:** 0\
**Last updated:** [March 22, 2023, 4:08pm UTC](https://meta.discourse.org/t/group-setting-to-nextcloud/259064 "2023-03-22T16:08:16Z")

</div>

I am doing this very customized setup with nextcloud and discourse. I’d like to study the possibility to connect discourse group (so all members of the group would have access). Is this possible? How hard is to make a se…

---

## [Need help connecting nextcloud with discourse](https://meta.discourse.org/t/need-help-connecting-nextcloud-with-discourse/258100)

<div class="topic-metadata">

**Author:** [@albjeremias](https://meta.discourse.org/u/albjeremias)\
**Replies:** 0\
**Last updated:** [March 14, 2023, 12:27pm UTC](https://meta.discourse.org/t/need-help-connecting-nextcloud-with-discourse/258100 "2023-03-14T12:27:26Z")

</div>

I’ve been trying this for the last couple years.. was never succesful.. can someone please guide me on how-to make this work? I’ve read all the threads and everything.. and it’s really extra confusing. you can see more d…

---

## [Using Discourse as SSO Provider for Wiki.js](https://meta.discourse.org/t/using-discourse-as-sso-provider-for-wiki-js/254957)

<div class="topic-metadata">

**Author:** [@BlockyBlockling](https://meta.discourse.org/u/BlockyBlockling)\
**Replies:** 0\
**Last updated:** [February 13, 2023, 8:02am UTC](https://meta.discourse.org/t/using-discourse-as-sso-provider-for-wiki-js/254957 "2023-02-13T08:02:29Z")

</div>

I’ve just created a Wiki.js Instance and want to use Discourse Connect as SSO Provider. I have those Authentication Services Available are Documented on this Site: Authentication | Wiki.js Can Anyone help me with that?

---

## [Does auto provision of user accounts work with the official OIDC plugin?](https://meta.discourse.org/t/does-auto-provision-of-user-accounts-work-with-the-official-oidc-plugin/304276)

<div class="topic-metadata">

**Author:** [@fred.fred](https://meta.discourse.org/u/fred.fred)\
**Replies:** 3\
**Last updated:** [February 6, 2023, 4:58pm UTC](https://meta.discourse.org/t/does-auto-provision-of-user-accounts-work-with-the-official-oidc-plugin/304276 "2023-02-06T16:58:55Z")

</div>

Hi, does auto provision of user accounts work with the official OIDC plugin? I am on the business trial and I want to hook up our Fusion Auth instance using OIDC. I have the settings here - Discourse OpenID Connect (OI…

---

## [Teachable, Discourse and SSO](https://meta.discourse.org/t/teachable-discourse-and-sso/253885)

<div class="topic-metadata">

**Author:** [@waffleslop](https://meta.discourse.org/u/waffleslop)\
**Replies:** 2\
**Last updated:** [February 3, 2023, 9:18pm UTC](https://meta.discourse.org/t/teachable-discourse-and-sso/253885 "2023-02-03T21:18:47Z")

</div>

We have a Teachable account with approx 5 membership tiers. When a new member is added to a Teachable tier, we want them to have access to Discourse via SSO and be granted access to specific Categories (already defined b…

---

## [Openid-connect plugin can't fetch configuration](https://meta.discourse.org/t/openid-connect-plugin-cant-fetch-configuration/253728)

<div class="topic-metadata">

**Author:** [@joshml.extra](https://meta.discourse.org/u/joshml.extra)\
**Replies:** 5\
**Last updated:** [February 3, 2023, 3:24am UTC](https://meta.discourse.org/t/openid-connect-plugin-cant-fetch-configuration/253728 "2023-02-03T03:24:30Z")

</div>

I’ve been trying to figure this out for a while and can’t seem to resolve this issue. I’m trying to integrate discourse with a Keycloak setup for authentication using the discourse-openid-connect plugin. I’m running the …

---

## [Silent authentication on session expiration with oAuth2 plugin](https://meta.discourse.org/t/silent-authentication-on-session-expiration-with-oauth2-plugin/253349)

<div class="topic-metadata">

**Author:** [@maxl](https://meta.discourse.org/u/maxl)\
**Replies:** 0\
**Last updated:** [January 30, 2023, 4:59pm UTC](https://meta.discourse.org/t/silent-authentication-on-session-expiration-with-oauth2-plugin/253349 "2023-01-30T16:59:28Z")

</div>

A typical paradigm when using an oAuth2 authentication provider for SSO is to set a short-ish (8-12 hour) session expiration timeout and then silently authentication the user if their oAuth2 session is still active. In …

---

## [Creating new User error after upgrade PG::UniqueViolation Duplicate Key](https://meta.discourse.org/t/creating-new-user-error-after-upgrade-pg-uniqueviolation-duplicate-key/252629)

<div class="topic-metadata">

**Author:** [@bobpies](https://meta.discourse.org/u/bobpies)\
**Replies:** 1\
**Last updated:** [January 24, 2023, 12:21pm UTC](https://meta.discourse.org/t/creating-new-user-error-after-upgrade-pg-uniqueviolation-duplicate-key/252629 "2023-01-24T12:21:43Z")

</div>

I am running from my site from my local dev sever - connecting to a live staging server that discourse is hosted on. I am using discourse\_api. I can run the client.sync\_sso command from my mac terminal and it will crea…

---

## [Get /users/by-external/ throwing URL Not Found error after update](https://meta.discourse.org/t/get-users-by-external-throwing-url-not-found-error-after-update/252410)

<div class="topic-metadata">

**Author:** [@bobpies](https://meta.discourse.org/u/bobpies)\
**Replies:** 2\
**Last updated:** [January 20, 2023, 3:54pm UTC](https://meta.discourse.org/t/get-users-by-external-throwing-url-not-found-error-after-update/252410 "2023-01-20T15:54:53Z")

</div>

So i’ve been updating my forums from 1.6 to 3.1 which has involved moving to a new server and restoring backup then plugging everything back together We use SSO for signing into both which still works However discourse…

---

## [OAuth account creation fails due to CSRF detection immediately after logging into Auth0 on same browser](https://meta.discourse.org/t/oauth-account-creation-fails-due-to-csrf-detection-immediately-after-logging-into-auth0-on-same-browser/249112)

<div class="topic-metadata">

**Author:** [@joellabes](https://meta.discourse.org/u/joellabes)\
**Replies:** 7\
**Last updated:** [January 17, 2023, 9:41am UTC](https://meta.discourse.org/t/oauth-account-creation-fails-due-to-csrf-detection-immediately-after-logging-into-auth0-on-same-browser/249112 "2023-01-17T09:41:39Z")

</div>

We have configured the oauth2 plugin following the directions on Configure sign up and log in with Auth0 using the OAuth2 Basic Plugin. The flow works as follows: Users sign up at https://getdbt.com/community/join-the…

---

## [Discourse as SSO provider for multiple clients](https://meta.discourse.org/t/discourse-as-sso-provider-for-multiple-clients/107610)

<div class="topic-metadata">

**Author:** [@unicom](https://meta.discourse.org/u/unicom)\
**Replies:** 10\
**Last updated:** [January 11, 2023, 10:17am UTC](https://meta.discourse.org/t/discourse-as-sso-provider-for-multiple-clients/107610 "2023-01-11T10:17:04Z")

</div>

Explanation of the scheme (this is the maximum option that I can imagine): 2 or more Discourse multisite installations. Discourse 0 is a common SSO provider for other Discourse (in the same installation or another). …

---

## [Can't log in from PC or Android browser, but could from "App"](https://meta.discourse.org/t/cant-log-in-from-pc-or-android-browser-but-could-from-app/250850)

<div class="topic-metadata">

**Author:** [@TimGNO](https://meta.discourse.org/u/TimGNO)\
**Replies:** 8\
**Last updated:** [January 10, 2023, 1:43pm UTC](https://meta.discourse.org/t/cant-log-in-from-pc-or-android-browser-but-could-from-app/250850 "2023-01-10T13:43:55Z")

</div>

I’m encountering what appears to be an SSO-related SNAFU, namely an inability to login to a particular Discourse community forum only when the login is attempted from PC. Otherwise, I can access the forum freely via, say…

---

## [Discourse login from external site](https://meta.discourse.org/t/discourse-login-from-external-site/251263)

<div class="topic-metadata">

**Author:** [@Yash\_Sharma](https://meta.discourse.org/u/Yash_Sharma)\
**Replies:** 0\
**Last updated:** [January 10, 2023, 10:02am UTC](https://meta.discourse.org/t/discourse-login-from-external-site/251263 "2023-01-10T10:02:29Z")

</div>

Hey, we had a use case where we need to integrate discourse in current product (Next js app). We are looking to build a community using discourse APIs. We are facing an issue with the login flow. More context: The produ…

---

## [How to use Discourse Connect (SSO) to update avatar, username, name?](https://meta.discourse.org/t/how-to-use-discourse-connect-sso-to-update-avatar-username-name/235935)

<div class="topic-metadata">

**Author:** [@EGreg](https://meta.discourse.org/u/EGreg)\
**Replies:** 7\
**Last updated:** [January 9, 2023, 4:51am UTC](https://meta.discourse.org/t/how-to-use-discourse-connect-sso-to-update-avatar-username-name/235935 "2023-01-09T04:51:50Z")

</div>

I have been able to set up Discourse SSO at https://forum.mycoralapp.com And I am able to create the user the first time, with their very own email, name, username and avatar. But the question is, how can I update t…

---

## [Using SSO setup, How to set a user as admin?](https://meta.discourse.org/t/using-sso-setup-how-to-set-a-user-as-admin/250249)

<div class="topic-metadata">

**Author:** [@Samir\_Sabri](https://meta.discourse.org/u/Samir_Sabri)\
**Replies:** 4\
**Last updated:** [December 31, 2022, 6:38pm UTC](https://meta.discourse.org/t/using-sso-setup-how-to-set-a-user-as-admin/250249 "2022-12-31T18:38:25Z")

</div>

I have installed discourse and created admin user using rake admin:create But when I set the SSO setup, my initial admin user lost its admin privilege as I sign in using my rails app via SSO. How can I set it as admin …

---

## [Error ArgumentError in DiscourseSsoController#sso, wrong number of arguments (given 1, expected 0)](https://meta.discourse.org/t/error-argumenterror-in-discoursessocontroller-sso-wrong-number-of-arguments-given-1-expected-0/184274)

<div class="topic-metadata">

**Author:** [@Andrea\_Giovacchini](https://meta.discourse.org/u/Andrea_Giovacchini)\
**Replies:** 11\
**Last updated:** [December 30, 2022, 9:54pm UTC](https://meta.discourse.org/t/error-argumenterror-in-discoursessocontroller-sso-wrong-number-of-arguments-given-1-expected-0/184274 "2022-12-30T21:54:06Z")

</div>

Following the guide Setup DiscourseConnect - Official Single-Sign-On for Discourse (sso) I’ve enabled Discourse SSO to share login with my existing RoR application, but I get “Error ArgumentError in DiscourseSsoControlle…

---

## [A community of a no-code tool: SSO vs login via email](https://meta.discourse.org/t/a-community-of-a-no-code-tool-sso-vs-login-via-email/217311)

<div class="topic-metadata">

**Author:** [@Michaela](https://meta.discourse.org/u/Michaela)\
**Replies:** 8\
**Last updated:** [December 28, 2022, 2:03pm UTC](https://meta.discourse.org/t/a-community-of-a-no-code-tool-sso-vs-login-via-email/217311 "2022-12-28T14:03:27Z")

</div>

Hi guys, I’m coming in to pick your brains on something :brain: We are setting up SSO between our no-code platform and our to-be Discourse forum. All’s working great, so yay on that. We are now, however, thinking about …

---

## [First time login for a user using API KEY](https://meta.discourse.org/t/first-time-login-for-a-user-using-api-key/249660)

<div class="topic-metadata">

**Author:** [@mohit\_kumar](https://meta.discourse.org/u/mohit_kumar)\
**Replies:** 2\
**Last updated:** [December 23, 2022, 6:16am UTC](https://meta.discourse.org/t/first-time-login-for-a-user-using-api-key/249660 "2022-12-23T06:16:40Z")

</div>

Hi All, I am using Discourse as a backend only there is no discourse UI involvement. To use API, I am using username and global api key to hit the request. I am facing 1 problem that is whenever a new user is created i…

---

## [Issue: SAML, anonymized user and blocked](https://meta.discourse.org/t/issue-saml-anonymized-user-and-blocked/164274)

<div class="topic-metadata">

**Author:** [@sbernhard](https://meta.discourse.org/u/sbernhard)\
**Replies:** 8\
**Last updated:** [December 22, 2022, 7:53pm UTC](https://meta.discourse.org/t/issue-saml-anonymized-user-and-blocked/164274 "2022-12-22T19:53:45Z")

</div>

Steps to reproduce: User A, a SAML user exists Admin want, that User A is no longer able to use discourse Admin uses the “anonymize user” function for user A (all entries are no anonymized =\> thats good) Admin want to …

---

## [Is it possible to send custom params with the request to /authorize?](https://meta.discourse.org/t/is-it-possible-to-send-custom-params-with-the-request-to-authorize/253934)

<div class="topic-metadata">

**Author:** [@IdentityDan](https://meta.discourse.org/u/IdentityDan)\
**Replies:** 1\
**Last updated:** [December 22, 2022, 12:28pm UTC](https://meta.discourse.org/t/is-it-possible-to-send-custom-params-with-the-request-to-authorize/253934 "2022-12-22T12:28:57Z")

</div>

Hi team, Is it possible to send custom params with the request to /authorize? For example, can I send a prompt=login param with the request?

---

## [How to only allow registration/login by a OAuth2 provider](https://meta.discourse.org/t/how-to-only-allow-registration-login-by-a-oauth2-provider/208228)

<div class="topic-metadata">

**Author:** [@sonmicrosystems](https://meta.discourse.org/u/sonmicrosystems)\
**Replies:** 4\
**Last updated:** [December 21, 2022, 4:30pm UTC](https://meta.discourse.org/t/how-to-only-allow-registration-login-by-a-oauth2-provider/208228 "2022-12-21T16:30:55Z")

</div>

Hi I’d like to know if this is possible to only allow users to login/sign up with an OAuth2 identity provider and disable the normal registration/login part? We are creating a forum for our users and want only peopl…

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

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