# Ik kan er niet achter komen hoe ik Discourse al het inloggen moet laten afhandelen (Wordpress)

**URL:** https://meta.discourse.org/t/i-cant-seem-to-figure-out-how-to-get-discourse-to-handle-all-logging-in-wordpress/325550
**Category:** Support
**Tags:** sso, wordpress
**Created:** [8 september 2024 om 21:38 UTC](https://meta.discourse.org/t/i-cant-seem-to-figure-out-how-to-get-discourse-to-handle-all-logging-in-wordpress/325550 "2024-09-08T21:38:57Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![CrackMasterK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/crackmasterk/32/125463_2.png) [@CrackMasterK](https://meta.discourse.org/u/CrackMasterK)
#### Post date: [8 september 2024 om 21:38 UTC](https://meta.discourse.org/t/i-cant-seem-to-figure-out-how-to-get-discourse-to-handle-all-logging-in-wordpress/325550/1 "2024-09-08T21:38:57Z")

</div>

So I can get it to work where it uses my wordpress to login to Discourse but I can’t seem to make it so any login or sign ups are handled by Discourse and it’s login system. I am using. [WP Discourse – WordPress plugin | WordPress.org](https://wordpress.org/plugins/wp-discourse/)

Is there a way to make it so if you want to make an account via wordpress or discourse it’s handled by Discourse alone? (I am 100% okay with it redirecting traffic to the discourse login to make accounts all around. I just feel that system will do it better for me.

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [9 september 2024 om 00:12 UTC](https://meta.discourse.org/t/i-cant-seem-to-figure-out-how-to-get-discourse-to-handle-all-logging-in-wordpress/325550/2 "2024-09-09T00:12:15Z")

</div>

Is this what you want?

> [@Create a DiscourseConnect login link](https://meta.discourse.org/t/create-a-discourseconnect-login-link/109290):
>
> bookmark This documentation explains how to create links on a [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true) provider site that log users into Discourse and redirect them to a specific Discourse URL. person_raising_hand Required user level: Administrator Sites using [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true) can add links on their [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true) provider site that will log users into Discourse and redirect them to a specific Discourse URL. This is done by creating links that point to the /session/sso route that have a return\_path parameter …

---

<div class="post-metadata">

### Author: ![CrackMasterK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/crackmasterk/32/125463_2.png) [@CrackMasterK](https://meta.discourse.org/u/CrackMasterK)
#### Post date: [9 september 2024 om 04:08 UTC](https://meta.discourse.org/t/i-cant-seem-to-figure-out-how-to-get-discourse-to-handle-all-logging-in-wordpress/325550/3 "2024-09-09T04:08:02Z")

</div>

Awesome thank you, I’ll try to set this up on my own. I appreciate the heads up.

---

<div class="post-metadata">

### Author: ![CrackMasterK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/crackmasterk/32/125463_2.png) [@CrackMasterK](https://meta.discourse.org/u/CrackMasterK)
#### Post date: [9 september 2024 om 22:14 UTC](https://meta.discourse.org/t/i-cant-seem-to-figure-out-how-to-get-discourse-to-handle-all-logging-in-wordpress/325550/4 "2024-09-09T22:14:55Z")

</div>

![](https://global.discourse-cdn.com/meta/original/4X/7/7/3/773d8c82d3380cf72d8af7c009b14be8752696ec.gif)  
I am met with this so I am trying to figure out how to do this correctly. Does it not work if it’s a private Discourse?

My currently link is  
[https://cgl.cimmarian.com/session/sso?return\_path=/login](https://cgl.cimmarian.com/session/sso?return_path=/login)

I am also using a wordpress builder

 ![](https://global.discourse-cdn.com/meta/original/4X/3/3/c/33c04cccc7a29db91f8ee5c303aa75d686623f88.png)  
As far as I can tell it would work without the a href? Or is it super striked and needs it and I need to add that as well.

So what I am attempting is pushing them to the login/sign up page. I’ve tried different things at the end. I also made sure under

 ![](https://global.discourse-cdn.com/meta/original/4X/7/6/6/7669e24591afedf688d5850f6b47750a9ad04bd1.png)  
I added the redirect links to test later once I can get the login/sign up to work 😃

---

<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: [12 september 2024 om 05:40 UTC](https://meta.discourse.org/t/i-cant-seem-to-figure-out-how-to-get-discourse-to-handle-all-logging-in-wordpress/325550/5 "2024-09-12T05:40:35Z")

</div>

> [@CrackMasterK](#):
>
> Is there a way to make it so if you want to make an account via wordpress or discourse it’s handled by Discourse alone?

I read this wrong the first time I looked at your question. You can use [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true) for this, but you need to configure WordPress to be the [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true) _client_. Details about how to set it up are here: [Configure single sign-on (SSO) with WP Discourse and DiscourseConnect](https://meta.discourse.org/t/configure-single-sign-on-sso-with-wp-discourse-and-discourseconnect/223494) (there’s a helpful video at the top of the topic.)
