WP Discourse SSO login problem

Hi,

Recently, i used WP Discourse plugin for setup Wordpress as SSO provider. I did not have any problems. On my new project with same setup, i have problem with SSO. I setup SSO as i did before but when i click Discourse login button, it redirects Wordpress login page, when i login it redirects Wordpress user profile page and when i visit Discourse it seems to have not logged in.

What can be the problem?

Thanks.

I found the problem. There was a function in function.php file on the Wordpress site for redirect logged users to profile page. I removed that function and it works now.

Edit: But i have blank page problem now :confused:

1 Like