Sign Out Button Not Working
RajRoR opened this issue · comments
Hi
I am using doorkeeper gem and for testing purpose I am using http://doorkeeper-provider.herokuapp.com and http://doorkeeper-devise.herokuapp.com. Once I logged in and clicked on sign out button it returns me to home url.
But if I click on sign in button again, it lands me to user area of http://doorkeeper-devise.herokuapp.com where I can call API's for credentials and profiles, WITHOUT ASKING FOR LOGIN AGAIN.
I am using your doorkeeper gem in my app so please revert m ASAP so that I can test it with client also.
Regards
Got the reason. No problem with button logic. Its fine
What is the reason?
Actually sign out button destroys session of current (your doorkeeper client app) application, not provider app. e.g. if you are using facebook (provider) login for your application (client), you have to go to facebook and logout manually to destroy provider app's session. Then it will ask for login again.