Skip to content
This repository has been archived by the owner. It is now read-only.

fix(oauth): update verification_redirect to always redirect in same browser or show "proceed" in different browser #2447

Conversation

@vladikoff
Copy link
Contributor

@vladikoff vladikoff commented May 20, 2015

Fixes #2436
Fixes #2402

@vladikoff vladikoff force-pushed the vladikoff:issue-2436-verification-redirect-strikes-back branch from f18f588 to bdae8c0 May 20, 2015
@vladikoff vladikoff added the WIP label May 20, 2015
@vladikoff vladikoff force-pushed the vladikoff:issue-2436-verification-redirect-strikes-back branch from bdae8c0 to 94c1907 May 20, 2015
@@ -176,6 +176,7 @@ function (_, $, p, Validate, AuthErrors, BaseView, Tooltip,
}

// all good, do the beforeSubmit, submit, and afterSubmit chain.
self.logScreenEvent('submit');

This comment has been minimized.

This comment has been minimized.

@shane-tomlinson

shane-tomlinson May 25, 2015
Member

@vladikoff - can you add this event to client-metrics.md, probably under generic-events?

This comment has been minimized.

@shane-tomlinson

shane-tomlinson May 25, 2015
Member

nm, took care of it.

@vladikoff
Copy link
Contributor Author

@vladikoff vladikoff commented May 20, 2015

Need to fix the "old tab is closed" case...

@vladikoff
Copy link
Contributor Author

@vladikoff vladikoff commented May 20, 2015

from meeting: if old tab was closed, then the newly opened tab should complete the flow automatically....

@vladikoff vladikoff force-pushed the vladikoff:issue-2436-verification-redirect-strikes-back branch from 94c1907 to 3fe519c May 20, 2015
@shane-tomlinson
Copy link
Member

@shane-tomlinson shane-tomlinson commented May 21, 2015

from meeting: if old tab was closed, then the newly opened tab should complete the flow automatically....

@vladikoff - can you define the expected behavior exactly, for posterity, and so I can eventually update the google doc?

@vladikoff vladikoff force-pushed the vladikoff:issue-2436-verification-redirect-strikes-back branch from 3fe519c to 8b2b0e9 May 21, 2015
@coveralls
Copy link

@coveralls coveralls commented May 21, 2015

Coverage Status

Coverage increased (+0.0%) to 98.34% when pulling 8b2b0e9 on vladikoff:issue-2436-verification-redirect-strikes-back into 927e97f on mozilla:master.

@vladikoff
Copy link
Contributor Author

@vladikoff vladikoff commented May 21, 2015

  1. I removed samebrowser until we actually have to use it or until someone needs it.
  2. Updated google doc
  3. @zaach @shane-tomlinson r?
@vladikoff vladikoff removed the WIP label May 21, 2015
@vladikoff vladikoff added this to the train 38 milestone May 21, 2015
@vladikoff vladikoff changed the title fix(oauth): update verification_redirect to always show "proceed" fix(oauth): update verification_redirect to always redirect in same browser or show "proceed" in different browser May 21, 2015
@vladikoff vladikoff force-pushed the vladikoff:issue-2436-verification-redirect-strikes-back branch from 8b2b0e9 to 75b8c4d May 21, 2015
*
* @returns {boolean}
* if the "Proceed" button should be included in the template
* The button links to the "redirect_uri" with no extra OAuth information

This comment has been minimized.

@pdehaan

pdehaan May 21, 2015
Contributor

Not sure if these comments should be above or below the @returns meta.

@vladikoff vladikoff force-pushed the vladikoff:issue-2436-verification-redirect-strikes-back branch 2 times, most recently from d862883 to 0d68853 May 21, 2015
@coveralls
Copy link

@coveralls coveralls commented May 21, 2015

Coverage Status

Coverage increased (+0.0%) to 98.24% when pulling 0d68853 on vladikoff:issue-2436-verification-redirect-strikes-back into 398f70a on mozilla:master.

@zaach
Copy link
Contributor

@zaach zaach commented May 22, 2015

👍 lgtm

@vladikoff vladikoff force-pushed the vladikoff:issue-2436-verification-redirect-strikes-back branch from 0d68853 to 4ab8970 May 22, 2015
…rowser or show "proceed" in different browser

Fixes #2436
Fixes #2402
@vladikoff vladikoff force-pushed the vladikoff:issue-2436-verification-redirect-strikes-back branch from 4ab8970 to 3be6da9 May 22, 2015
@vladikoff
Copy link
Contributor Author

@vladikoff vladikoff commented May 24, 2015

Merging this so we get some time to test it on latest before train cut.

vladikoff added a commit that referenced this pull request May 24, 2015
…ect-strikes-back

fix(oauth): update verification_redirect to always redirect in same browser or show "proceed" in different browser
@vladikoff vladikoff merged commit 822f105 into mozilla:master May 24, 2015
1 of 2 checks passed
1 of 2 checks passed
coverage/coveralls Coverage pending from Coveralls.io
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@vladikoff vladikoff deleted the vladikoff:issue-2436-verification-redirect-strikes-back branch May 24, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
5 participants