-
Notifications
You must be signed in to change notification settings - Fork 187
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
Login doesn't work when Firefox is the default browser #15
Comments
Interesting. There is an iframe redirecting to localhost as part of the flow, are there any messages in your developer console? Do you use a force HTTPS plugin? |
Should have mentioned that yes, I use a Force HTTPS plugin. I can check for developer console issues later today. |
Note, there were two people who were having this issue with Firefox, so not an isolated incident. |
My guess is that either Firefox won't redirect to localhost or both users had a Force HTTPS plugin installed. I'd like to see a screenshot of the dev console if possible for a failing user. |
@ddollar Firefox blocks the redirect to localhost: "Blocked loading mixed content". This is because Firefox will not redirect from HTTPS to HTTP with JavaScript. |
OK. We'll have to modify the localhost HTTP server to speak HTTPS. |
I'll see if I can get that working tonight. |
If you need the code for the server bit you can clone it from the Heroku app "force-cli" |
I tried to grant access to my devorg with
force
. The tool opened up my default browser (Firefox) where I logged into Salesforce and granted access. I then got redirected to/auth/callback
but the grant never made it.When I copied the callback url and pasted it into Chrome I got the "Granted" message from
force-cli.herokuapp.com
and was able to use the tool.The text was updated successfully, but these errors were encountered: