afawcett / githubsfdeploy

GitHub Salesforce Deploy Tool
BSD 3-Clause "New" or "Revised" License
189 stars 104 forks source link

If token is revoked on org, error displayed and no way to login. #10

Open dhoechst opened 9 years ago

dhoechst commented 9 years ago

If I revoke that token in the Salesforce org, I get an error and no way to reauthorize again: Failed to retrive GitHub repository details : com.force.sdk.oauth.exception.ForceOAuthSessionExpirationException.

afawcett commented 9 years ago

Even if you restart your browser?

motiko commented 9 years ago

Try to access githubsfdeploy.herokuapp.com/logout after revoking access from salesforce.

afawcett commented 9 years ago

Should we put a link to this page in the tool header?

motiko commented 9 years ago

Or even redirecting to it in case of an authentication error to Salesforce. We can put a link to Salesforce oAuth usage page ( or whatever the name of the page where you can revoke access) i did something similar for GitHub oAuth. I also should fix the error message too, it's a bit confusing now .

afawcett commented 9 years ago

:+1: