I was using
localhost with other parameters set up properly. Two bugs related to
1. Users who have not logged in before get stuck at
After the user enters his login/password at
https://stackexchange.com/oauth/dialog?..., he encounters:
Application Login Failure An error occurred while login into an application. Error Details error description: could not parse proxy url
Solution: Clicking on "Run Example With Version" (the one that calls
SE.authenticate) button again. The second time, being logged in, it redirects properly and authorizes the client.
- Implicit OAuth flow is not working when the user is not logged in.
- OAuth redirect not completing
SE.authenticate ignores the port
index.html with Stack Exchange authentication on
localhost:8080. Bug 1 appears again. But now calling
SE.authenticate second time doesn't work. The process stops on
https://stackexchange.com/oauth/login_success?... page saying
The console says:
Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('http://localhost') does not match the recipient window's origin ('http://localhost:8080').
Solution: Switching back to
These solutions don't address the issues directly. The problems will persist until JS SDK is fixed.