simon
December 15, 2017, 5:34pm
21
If you add a link with this structure directly to a page on your site other than the login page, does it work? It should log you in and redirect you to your homepage.
<a href="http://snapcentral.netsapiens.com/?discourse_sso=1&redirect_to=http://snapcentral.netsapiens.com" rel="nofollow noopener">Login β netsapiens SNAPcentral</a>
What happens if you add this shortcode to a page other than the login page? The link will only be visible when you are logged out.
[discourse_sso_client]
2 Likes
Mamta_Buch
(Mamta Buch)
December 15, 2017, 5:44pm
22
The first part works on a page other than the login page
The second part I am not sure how to accomplish since I cannot get to any pages if I am logged out and I can only login from /login?
Excuse me if I am not understanding you correctly!
simon
December 15, 2017, 5:59pm
23
Right, your website is private. What happens if you logout of your website and embed the link I posted into a Discourse post? It should log you in to WordPress and take you to your homepage.
1 Like
Mamta_Buch
(Mamta Buch)
December 15, 2017, 6:06pm
24
That worked! Which gives me a great idea to add the link to our forum so customers can get to the other site from there!
simon
December 15, 2017, 6:15pm
25
Great! Itβs a solvable problem. Could you try embedding this link on your forum and see if it still works? It will help me debug something.
<a href="http://snapcentral.netsapiens.com/?discourse_sso=1&redirect_to=http%3A%2F%2Fsnapcentral.netsapiens.com" rel="nofollow noopener">Login β netsapiens SNAPcentral</a>
Mamta_Buch
(Mamta Buch)
December 15, 2017, 6:40pm
26
I believe the answer is NO since that link just took me to the login page for my site NOT the homepage once logged in.
1 Like