# Use Discourse Connect with Wordpress and regular login

**URL:** https://meta.discourse.org/t/use-discourse-connect-with-wordpress-and-regular-login/270689
**Category:** SSO
**Tags:** wordpress, discourseconnect
**Created:** [July 5, 2023, 7:14pm UTC](https://meta.discourse.org/t/use-discourse-connect-with-wordpress-and-regular-login/270689 "2023-07-05T19:14:22Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![illusionandcards](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/illusionandcards/32/306500_2.png) [@illusionandcards](https://meta.discourse.org/u/illusionandcards)
#### Post date: [July 5, 2023, 7:14pm UTC](https://meta.discourse.org/t/use-discourse-connect-with-wordpress-and-regular-login/270689/1 "2023-07-05T19:14:23Z")

</div>

Good day,

Is it possible to activate the login with Wordpress through [Discourse Connect](https://meta.discourse.org/t/13045?silent=true) and also the regular Discourse login and sign up?

What happens when a user creates an account with Discourse and then uses the same email to login through Wordpress with [Discourse Connect](https://meta.discourse.org/t/13045?silent=true)?

Thanks!

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [July 5, 2023, 8:44pm UTC](https://meta.discourse.org/t/use-discourse-connect-with-wordpress-and-regular-login/270689/2 "2023-07-05T20:44:13Z")

</div>

> [@illusionandcards](#):
>
> Is it possible to activate the login with Wordpress through [Discourse Connect](https://meta.discourse.org/t/13045) and also the regular Discourse login and sign up?

No, if you enable [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true), users will only be able to login to your Discourse site through your WordPress site.

> [@illusionandcards](#):
>
> What happens when a user creates an account with Discourse and then uses the same email to login through Wordpress with [Discourse Connect](https://meta.discourse.org/t/13045)?

This may not be an issue for you, as it is not possible to allow users to login to Discourse both via [Discourse connect](https://meta.discourse.org/t/13045?silent=true) and directly through the Discourse site. It may be a relevant issue if you have users who have created accounts on Discourse prior to your having enabled [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true). For that case, as long as your WordPress site is using the default WordPress registration system, existing users will be found on Discourse based on their email address when they first login to Discourse via your WordPress site.

---

<div class="post-metadata">

### Author: ![illusionandcards](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/illusionandcards/32/306500_2.png) [@illusionandcards](https://meta.discourse.org/u/illusionandcards)
#### Post date: [July 5, 2023, 9:01pm UTC](https://meta.discourse.org/t/use-discourse-connect-with-wordpress-and-regular-login/270689/3 "2023-07-05T21:01:16Z")

</div>

Thank you for the information!

The reason to do this is because I have a issue when users register through Wordpress. Could you help me with this?

Here is the topic: [Error creating account in Wordpress with Discourse Connect](https://meta.discourse.org/t/error-creating-account-in-wordpress-with-discourse-connect/270688)

---

<div class="post-metadata">

### Author: ![illusionandcards](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/illusionandcards/32/306500_2.png) [@illusionandcards](https://meta.discourse.org/u/illusionandcards)
#### Post date: [July 5, 2023, 9:06pm UTC](https://meta.discourse.org/t/use-discourse-connect-with-wordpress-and-regular-login/270689/4 "2023-07-05T21:06:30Z")

</div>

Also, what would happen with the accounts created in Wordpress if I disable [Discourse Connect](https://meta.discourse.org/t/13045?silent=true) and enable the default login system?

Will they have to reset their password?

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [July 5, 2023, 9:31pm UTC](https://meta.discourse.org/t/use-discourse-connect-with-wordpress-and-regular-login/270689/5 "2023-07-05T21:31:46Z")

</div>

> [@illusionandcards](#):
>
> The reason to do this is because I have a issue when users register through Wordpress. Could you help me with this?

Have a look at [Debug and fixing common DiscourseConnect issues](https://meta.discourse.org/t/debug-and-fixing-common-discourseconnect-issues/103496). If you can not sort out the problem yourself, post a redacted version of an error log entry here, someone may be able to help.

I do not think the error you are reporting is a Discourse bug.

> [@illusionandcards](#):
>
> what would happen with the accounts created in Wordpress if I disable [Discourse Connect](https://meta.discourse.org/t/13045) and enable the default login system?

If you disable [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true), users who have created accounts on Discourse via your WordPress site will have to click the “I forgot my password” link from the Discourse login modal and use the email they are sent to reset their password.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [August 4, 2023, 9:32pm UTC](https://meta.discourse.org/t/use-discourse-connect-with-wordpress-and-regular-login/270689/6 "2023-08-04T21:32:38Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
