Hi,
The FreshDesk SSO redirects to the cached page. Let’s say if you hit a ticket page (while not logged in), it will redirect to the SSO created website login, in your case http://blabla.com/ login page. After logging in, it will redirect back to the original ticket page.
This is what is the desired and expected output in FreshDesk SSO.
I am not sure if I understood your exact issue. Do you mind sharing few screenshots or so?
Looking forward to resolve this issue ASAP.
Regards,
Vrunda Kansara
Sorry that I have not made myself clear. Here is a step by step description on what is happening:
1. User is not logged in yet either to freshdesk (there actually signup is disabled) nor to wordpress. Open the freshdesk main page, e.g: https://blabla.freshdesk.com
2. Freshdesk correctly redirects to the WP login page with the following URL:
http://blabla.com/wp-login.php?action=fd-remote-login&host_url=blabla.freshdesk.com
3. I can login just fine but after login, something (WP Freshdesk plugin? or another WP plugin?) redirects to:
a. IF RegistrationMagic plugin is disabled — redirects to the default WordPress profile page
b. IF RegistrationMagic plugin is enabled — redirects to the page configured in RegistrationMagic
4. If the user is already logged in to WordPress and I reopen the above login page URL, then it redirects correctly to the /support/home page of the Freshdesk URL. So it seems that if the user is logged in already, redirect happens, but if the user is just logging in, it does not work.
I don’t have any other plugins installed that could interfere here.
Thanks!
Hey!
Thank you for such a detailed explanation. I totally get your point.
Did you check if the user you are trying to log in from blabla.com is also present at blabla.freshdesk.com ?
The logic goes like this – User with “xyz” login views his ticket list on your website using the shortcode. If he wants to see the ticket details on FreskDesk forum he will click on the ticket and will be logged in there using SSO with SAME user as “xyz”. So here he doesn’t have to log in to FreshDesk again.
Let me know.
Looking forward to resolving this.
Regards,
Vrunda Kansara
Hm, I thought that if you open the main freshdesk page, it should automatically redirect to the WP login page, and then after logging in, back to the freshdesk page. Shouldn’t it work like this?
I disabled signup on the freshdesk page, I was hoping that using the WP user database, my existing WP users can authenticate on the freshdesk site without having to sign up also there.
Hey,
If the user has tickets opened on FreshDesk, he will definitely have an account at FreshDesk. So this case scenario is invalid.
In your case, you might be trying to reproduce the scenario as an admin login, right?
The SSO in FreshDesk is simply responsible for Single Sign In, which means if he is logged in at blabla.com he doesn’t have to log in to blabla.freshdesk.com. Both these instances will work hand in hand in terms of logging in and not signing up.
I hope this clarifies your doubt. Feel free to get back if you face any other issues.
Regards,
Vrunda Kansara