IAR Frontend - Can't login in Safari
Attempting to sign in in Safari takes you back to the sign in screen
Designs
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Richard Peach changed milestone to %DevOps Sprint 105
changed milestone to %DevOps Sprint 105
- Richard Peach added 1 deleted label
added 1 deleted label
- Dr Abraham Martin changed time estimate to 1d
changed time estimate to 1d
- Dr Abraham Martin changed milestone to %DevOps Sprint 106
changed milestone to %DevOps Sprint 106
- Dr Abraham Martin added spike workflowSprint Ready labels and removed 1 deleted label
added spike workflowSprint Ready labels and removed 1 deleted label
- Dr Abraham Martin added priority3 Low label
added priority3 Low label
- Richard Peach mentioned in issue #33 (closed)
mentioned in issue #33 (closed)
- Richard Peach assigned to @rp431
assigned to @rp431
- Richard Peach added workflowIn Progress label and removed workflowSprint Ready label
added workflowIn Progress label and removed workflowSprint Ready label
- Richard Peach mentioned in commit 48adab18
mentioned in commit 48adab18
- Richard Peach mentioned in merge request !27 (merged)
mentioned in merge request !27 (merged)
- Richard Peach added workflowReview Required label and removed workflowIn Progress label
added workflowReview Required label and removed workflowIn Progress label
- Author Contributor
Turns out Safari's new Intelligent Tracking Protection breaks redirect based authentication because it won't allow the cookie to be set. Instead we use popup based authentication, this doesn't seem to be blocked in Chrome, Firefox, or Safari
Edited by Richard Peach Collapse replies - Author Contributor
For reference this is the description of the problem: https://github.com/google/google-api-javascript-client/issues/342
- Richard Peach added 2h of time spent at 2020-10-06
added 2h of time spent at 2020-10-06
- Dr Abraham Martin added workflowRework label and removed workflowReview Required label
added workflowRework label and removed workflowReview Required label
- Author Contributor
Can't merge this until https://gitlab.developers.cam.ac.uk/uis/devops/iar/webapp/-/merge_requests/26 is merged (There's a build failure that is unrelated to my changes)
Collapse replies - Author Contributor
Rebased and build is now successful, ready for review again
- Richard Peach added workflowBlocked label and removed workflowRework label
added workflowBlocked label and removed workflowRework label
- Richard Peach mentioned in commit afb2befb
mentioned in commit afb2befb
- Richard Peach added workflowReview Required label and removed workflowBlocked label
added workflowReview Required label and removed workflowBlocked label
- Author Contributor
It might actually be possible to continue to use redirects... but the redirects need to pass auth tokens back via a url fragment, not via a cookie. Need to check the gapi client library to see if that is something we can do.
This website had some interesting thoughts on redirect vs popup: https://docs.microsoft.com/en-us/azure/active-directory/develop/reference-third-party-cookies-spas
In particular "Browsers are decreasing support for popups, so they may not be the most reliable option."
Collapse replies - Author Contributor
Only an
id_token
is passed back by google in the url. We could pass this to our server to exchange with google for anaccess_token
but this would require server changes.
- Richard Peach added workflowSprint Ready label and removed workflowReview Required label
added workflowSprint Ready label and removed workflowReview Required label
- Richard Peach unassigned @rp431
unassigned @rp431
- Dr Abraham Martin changed milestone to %DevOps Sprint 107
changed milestone to %DevOps Sprint 107
- Richard Peach assigned to @rp431
assigned to @rp431
- Richard Peach added workflowIn Progress label and removed workflowSprint Ready label
added workflowIn Progress label and removed workflowSprint Ready label
- Richard Peach mentioned in commit cddeaae1
mentioned in commit cddeaae1
- Richard Peach added workflowReview Required label and removed workflowIn Progress label
added workflowReview Required label and removed workflowIn Progress label
- Richard Peach mentioned in commit 03737a43
mentioned in commit 03737a43
- Dr Rich Wareham closed with merge request !27 (merged)
closed with merge request !27 (merged)
- Dr Rich Wareham mentioned in commit be56149d
mentioned in commit be56149d
- Owner
Tested in browserstack and smoke-tested in staging with real Safari in private browsing mode. Deploying to prod.
- Dr Rich Wareham added 1h 30m of time spent at 2020-10-27
added 1h 30m of time spent at 2020-10-27