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

fix(account): throw an error when generating assertions with invalid … #4666

Merged
merged 3 commits into from Feb 3, 2017

Conversation

@vladikoff
Copy link
Contributor

@vladikoff vladikoff commented Jan 24, 2017

…session token

Fixes #4586

@shane-tomlinson r?

Copy link
Member

@shane-tomlinson shane-tomlinson left a comment

This PR sidesteps the filed problem by throwing an error of the format we expect, but it doesn't solve the underlying problem of attempting to generate assertions for accounts w/o valid sessionTokens. I'm OK with merging this, and filing a follow on issue to fix the underlying problem.

@shane-tomlinson
Copy link
Member

@shane-tomlinson shane-tomlinson commented Feb 3, 2017

@vladikoff - is there anything else you want to do with this PR? If not, can you merge it? We'll need to open a follow up issue to fix the underlying problem instead of just the reporting. The underlying problem is we shouldn't request an assertion if we don't have a sessionToken.

@vladikoff vladikoff merged commit 7b867b0 into master Feb 3, 2017
4 checks passed
4 checks passed
ci/circleci Your tests passed on CircleCI!
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
coverage/coveralls Coverage increased (+0.001%) to 98.481%
Details
@vladikoff vladikoff deleted the i4586 branch Feb 3, 2017
@vladikoff
Copy link
Contributor Author

@vladikoff vladikoff commented Feb 3, 2017

with the latest code, if the token is corrupted then we get the same Invalid Token on force_auth:

@rfk rfk added this to the FxA-0: quality milestone Feb 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants