Delegated authentication fails
When I log in to google apps with my @cs.washington.edu email account on most websites, eg gmail, I enter [email protected] an no password. I then get forwarded to the UW CSE authentication page. After authenticating on the UW CSE website I am forwarded back to my app, gmail in this case, logged in. Screens of example flow here
When I try to authenticate uProxy in the same manner, the auth window closes when I click "sign in". Video here.
Hrm. I don't actually know what I'm talking about in Oauth-land, but as a starting place: are you able to "Sign in with Google" anywhere else – e.g., Pinterest.com – using your cs.washington.edu address?
On Mon, Jun 9, 2014 at 6:16 PM, Paul [email protected] wrote:
When I log in to google apps with my @cs.washington.edu email account on most websites, eg gmail, I enter [email protected] an no password. I then get forwarded to the UW CSE authentication page. After authenticating on the UW CSE website I am forwarded back to my app, gmail in this case, logged in. Screens of example flow here http://imgur.com/a/eUTmW
When I try to authenticate uProxy in the same manner, the auth window closes when I click "sign in". Video here http://youtu.be/zPASAKPNSYc.
— Reply to this email directly or view it on GitHub https://github.com/uProxy/uProxy/issues/202.
The deal here is that to sign in to the cs google accounts the page is redirected to cs.washington.edu servers, which are not in the content security policy of the chrome app.
To solve this, we should use chrome.identity for oAuth, or open the web auth flow in a browser tab rather than in an app window.
In reply to @scouttle, @cs.washington.edu acounts are google accounts that work for authenticating with Google. I just checked stack overflow and I was able to sign on using my @cs.washington.edu accunt there as well.
Fixed by Salome by switching from chrome.identity to chrome.tabs API