Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dhoechst opened this issue Jun 2, 2015 · 5 comments
Open
Labels

Comments

@dhoechst
Copy link

dhoechst commented Jun 2, 2015

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
Copy link
Owner

afawcett commented Jun 3, 2015

Even if you restart your browser?

@afawcett afawcett added the bug label Jun 3, 2015
@motiko
Copy link
Contributor

motiko commented Jun 3, 2015

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

@afawcett
Copy link
Owner

afawcett commented Jun 6, 2015

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

@motiko
Copy link
Contributor

motiko commented Jun 6, 2015

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
Copy link
Owner

afawcett commented Jun 6, 2015

👍

afawcett added a commit that referenced this issue Jul 3, 2015
Better error handling after token revoked #10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants