Devise Gem and Single Sign On
We want to do single sign in using the Devise Ruby gem in Rails. The routes are:
HTTP GET to /users/sign_in
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?
1 person has this problem
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?
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.