# SSO with Wordpress and Discourse as Provider login Flow and logic

**URL:** <https://meta.discourse.org/t/sso-with-wordpress-and-discourse-as-provider-login-flow-and-logic/124535>\
**Category:** WordPress\
**Created:** [July 31, 2019, 7:55pm UTC](https://meta.discourse.org/t/sso-with-wordpress-and-discourse-as-provider-login-flow-and-logic/124535 "2019-07-31T19:55:05Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![BishopV](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bishopv/32/185715_2.png) [@BishopV](https://meta.discourse.org/u/BishopV)\
**Post date:** [July 31, 2019, 7:55pm UTC](https://meta.discourse.org/t/sso-with-wordpress-and-discourse-as-provider-login-flow-and-logic/124535/1 "2019-07-31T19:55:05Z")

</div>

Million thanks @simon was assisted me to setting this , finally i can see [Login with Discourse] at my wordpress page. now i need clear my mind and figure it out the logic and login flow to more convenient my member go to wordpress make payment .

Now My Page Sign in flow like this

Login at wordpress \> select login in with discourse \> discourse login page \> logged in \> redirect back to wordpress website .

 ![57%20AM](https://global.discourse-cdn.com/meta/original/3X/4/0/40d279a6188f311fb7be349c0f90f5c7b6a28788.png)

if i want those setting may i know how ?

1. im already done setting when member Login at wordpress using discourse login but redirect back to wordpress , but how about i want another setting when they Login at discourse using discourse login but redirect back to discourse but backend will automatic logged in at wordpress website too ?

2. Disable all my wordpress original login method only discourse login method.

---

_[View the full topic](https://meta.discourse.org/t/sso-with-wordpress-and-discourse-as-provider-login-flow-and-logic/124535)._
