• This effectively prevents admins from signing into Freshdesk so long as SSO is enabled.

    I’ve double checked all keys and URLs, and disabled all plugins and loaded the twenty fourteen theme — doesn’t help.

    The redirect in the URL is correct, it’s just not going there after logging in.

    https://wordpress.org/plugins/freshdesk-support/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter adamt19

    (@adamt19)

    For anyone else that runs into this…

    Since I couldn’t log into freshdesk after signing-out to test this, I had to remove the shared key from the WP-admin control panel and was then able to get back in to the support portal at freshdesk using the default login method

    Hi,

    After enabling SSO, at any point of time if you wish to login to freshdesk using normal login method(meaning not the WordPress login) then you can use

    http://yourcompany.freshdesk.com/login/normal

    Refer: http://wordpress.org/plugins/freshdesk-support/faq/
    Its not necessary to disable everything.

    That said we are not clear on your issue, are you stating that when you login using “admin” (freshdesk’s admin)credential from the plugin (wp login page), then you are being taken to tickets list view and you don’t see the admin tabs or is it like the login itself fails and you are being redirected back to WP dashboard.

    Please clarify.

    Regards,
    John paul.H

    Thread Starter adamt19

    (@adamt19)

    With SSO enabled, When I go to my fresh desk admin portal and click login from the top right, I’m taken to my website’s wp-login. I notice there is a redirect param that suggests it will take me back to fresh desk after logging in. However, When I log in I am taken to wp-admin rather than freshdesk. So I can never get into freshdesk this way when SSO is enabled (perhaps except with the alternative you mentioned here.)

    I’ve realized now the email address for my freshdesk admin account is different than the Email associated with my wordpress admin account. Does this explain the unexpected behavior?

    Thread Starter adamt19

    (@adamt19)

    Update:

    I:

    1. created and activated new *customer* account on our website with a new e-mail address.
    2. created a ticket with the freshdesk widget from our website, using that e-mail address.
    3. logged out of our website
    4. checked the e-mail and found the Freshdesk ticket link.
    5. clicked the link and was brought to my website’s wp-login page. Redirect parameter looked good.
    6. Logged in successfully but was dropped off at my website’s homepage rather than freshdesk ticket page.
    7. Went back to my e-mail and clicked the ticket link AGAIN.
    8. This time I was brought to the ticket page, finally. Presumably because I was already logged into my website/freshdesk before clicking the ticket link, and so the wp-login/broken redirect function is skipped entirely?

    surely this isn’t how it’s supposed to work? At step 6 I should be brought to my ticket in the FreshDesk support portal. Being dropped off at the home page will frustrate and confuse users who are already having issues. D:

    @hjohnpaul @adamt19 just wanted to mention a few things since I am also a FreshDesk customer and had initially created a similar plugin for Freshdesk.

    The issue @adamt19 you are facing, is something bothers me too. However it’s less to do with Freshdesk and has to do with our WP sites. I am still working on a solution before a launch of my site, but here are few things I am considering:

    – Create a separate login page on my website, where freshdesk users get forwarded too.
    – Add a a redirect loop on this page, so if a user is loggedin, they get redirected to FreshDesk if they are not logged in, then show them a login page.
    – Once they login through this page, bring them back to the same page, as we already would have the logic to forward users to freshdesk.

    There might be some better way, but the above is what I’d be working on first.

    @harish Chouhan: Appreciate your help, Thanks for the points.

    @adamt19: This behavior of not getting redirected to the ticket after log-in has more to do with how WordPress behaves, rather than the plugin itself as pointed out by Mr.Chouhan. But we will look into it and check whether we would be able to do a round about for the same.

    And is this the updated/continuation of the same query on login redirection of admin which you posted earlier in the same thread ??

    Regards,
    John paul.H

    Thread Starter adamt19

    (@adamt19)

    @hjohnpaul yes that’s correct.

    Hopefully most users will be logged-in to our site already and will be brought to the ticket when they click links in their e-mail, but if we can get people back to FreshDesk after the quick trip to our site for login, that would complete the expectation I think most users will have.

    @hjohnpaul

    Did this ever get updated as I tried v1.5 today and had the same issues as above.

    @tfsmartin
    We updated a new version V 1.6 which addresses problems with redirect and logout. Please checkout V 1.6 and let us know if that worked for you.

    Regards,
    Bala.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Plugin redirects to WP-ADMIN’ is closed to new replies.