Skip to main content
I've read

https://support.freshdesk.com/solution/categories/4/folders/453/articles/629-remote-authentication-in-freshdesk-

We want to do single sign in using the Devise Ruby gem in Rails.  The routes are:

sign in:
HTTP GET to /users/sign_in

sign out:
HTTP DELETE to /users/sign_out

When configuring single sign in on your FreshDesk Admin => Security tab, I don't see how to specify the HTTP verb.  I need it to be an HTTP DELETE for sign out.  How do I configure this?

Thanks,

Joel

You can change the default HTTP method DELETE devise uses in config/initializers/devise.rb


config.sign_out_via = :delete





I know this is a fairly old ticket, but I am trying to achieve the exact same thins, is there any chance you could outline the code changes on the device side, and the configuration in Freshdesk to get this working?






Hi,






Though the post was created long back, we're sorry to respond to the thread only now. You can find a sample repo here : https://github.com/kirandarisi/freshdesk_sso






Shoot us questions if you need any assistance with the setup.






Cheers!