Repository navigation
fix(auth): confirmSignIn identity pool errors, sign-in log redaction and the access-group signed-out record #4405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
57 commits
Select commit
Hold shift + click to select a range
238850c
fix(auth): throw the identity pool's error from confirmSignIn instead…
harsh62 fc951e1
fix(auth): redact the challenge session in every printed form of a si…
harsh62 d469846
fix(auth): save the signed-out record when the plugin ends a session …
harsh62 d5afa46
docs(auth): describe the credential store's log category without the …
harsh62 deb8ea3
docs(auth): say the plugin's sign-out saves the signed-out record und…
harsh62 5e2530b
test(auth): pin the plugin's signed-out record against the AWSMobileC…
harsh62 23847d9
fix(auth): save the signed-out record under an access group only when…
harsh62 dcfbc56
test(auth): pin the redacted challenge in the error of an MFA setup t…
harsh62 5a358da
docs(auth): release notes, design and decisions for the confirmSignIn…
harsh62 54a11d3
test(auth): move the access-group record's migration and rollback tes…
harsh62 c4f40b1
docs(auth): say which verbose lines the access-group sign-out's read …
harsh62 13798c0
docs(auth): say that the guest fetch after a sign-out clears AWSMobil…
harsh62 9fa5191
docs(auth): say that a guest over an identity-pool-only sign-out leav…
harsh62 0a9b684
docs(auth): say the signed-out record stops the AWSMobileClient migra…
harsh62 308d68b
docs(auth): describe when confirmSignIn refuses an answer to a reset-…
harsh62 25ec941
docs(auth): say browserBusy can name the session itself when no sessi…
harsh62 846d435
docs(auth): say only a partial sign-out's service error says it won't…
harsh62 0d56e90
test(auth): pin that a guest over the default session's signed-out re…
harsh62 c1109be
test(auth): pin that a double tap says it is queued only when the ses…
harsh62 bacc64a
fix(auth): say the sheet is still closing to a double tap queued behi…
harsh62 0ab481d
docs(auth): say which refused TOTP code lets confirmSignIn send a res…
harsh62 3d4239a
fix(auth): keep the user's confirmSignIn answer out of the sign-in's …
harsh62 8d17aae
fix(auth): redact the TOTP setup's verified session in the event Veri…
harsh62 6aa3021
fix(auth): print AuthSignUpStep with the auto sign-in session redacted
harsh62 e70fb2e
fix(auth): sign out when confirmSignIn throws the identity pool's err…
harsh62 3528c7b
fix(auth): replace an access-group login with the signed-out record i…
harsh62 072d0cb
fix(auth): suggest waiting for the queued call when a session's own s…
harsh62 62d3c4b
docs(auth): release notes and decisions for the secret redactions, th…
harsh62 5b16e8b
test(auth): pin the resumed access-group migration's configuration re…
harsh62 8ae7f6d
ci(auth): refuse a first sandbox provision unless the profile holds i…
harsh62 c81d08d
ci: fail closed on a rename from an unknown path unless the new path …
harsh62 1841b53
ci: pin the selector's default repo root and a bundled README renamed…
harsh62 fff2f5f
ci: check for missing bundled files in detect instead of selecting a …
harsh62 7674333
ci: run the test selector's self-test in its own workflow
harsh62 9560239
fix(auth): keep a session's dead-token expiry when its session core i…
harsh62 5745c4d
ci(auth): extend the code sink's API key from a weekly ccit-ci- Lambda
harsh62 abddf61
ci(auth): extend an expired code sink key in place before making a ne…
harsh62 cd83dd9
ci(auth): refuse a phase-1 --apply while phase-2 ccit-ci- resources e…
harsh62 b60429d
ci(auth): add a guarded provision-ci.sh replace <pool> command
harsh62 cdfbb31
test(auth): check the SNS caller role's trust in the fake AWS, withou…
harsh62 5d303dd
test(auth): check that replace refuses an untagged uploaded file of t…
harsh62 902222b
test(auth): pin that confirmSignIn returns when the sign-out cancelli…
harsh62 084551c
docs(auth): say in the client README that a session's dead-token expi…
harsh62 9d7abf3
docs(auth): describe the weekly key extension and the first-run crede…
harsh62 8b3c0ca
docs(auth): document the saved dead-token expiry in the client design
harsh62 3ec28ac
docs(auth): record that a dead-token expiry is saved with the session…
harsh62 640d5f0
docs(auth): release notes for the saved dead-token expiry
harsh62 70f57e4
ci(auth): log a fixed text when AppSync refuses to extend a live code…
harsh62 ca4e9d9
docs(auth): say that replace only warns when gh cannot tell whether a…
harsh62 636a44c
ci: pin that the bundled-file check escapes a missing file's name in …
harsh62 94844b0
fix(auth): revoke a cancelled sign-in's own tokens, not the login the…
harsh62 5421190
docs(auth): release notes for the revoke of a cancelled sign-in's own…
harsh62 5ae1217
docs(auth): say the plugin's confirmSignIn hung on a failed identity …
harsh62 9e3a60b
docs(auth): say a plugin sign-out under an access group leaves a sign…
harsh62 7145493
docs(auth): tell apps with their own AuthSignUpStep description confo…
harsh62 9e4cc8d
ci(auth): record the CI Lambdas' deployed files as the drift baseline
harsh62 1d0b39a
fix(auth): stop repeating the parsed value in the MFA-type and auth-f…
harsh62 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| # Offline self-test of scripts/python/affected_targets.py, the test selector and bundled-file check the unit, | ||
| # integration and build workflows' detect steps run (test_affected_targets.py). It runs over the real group files, a | ||
| # stub package dump and this checkout's Xcode projects (the files host apps copy into bundles), so it needs no Swift | ||
| # toolchain. A project change runs it too, since the check reads the projects; the other script self-tests are in | ||
| # ci_script_self_tests.yml, which a project change doesn't start. | ||
| # | ||
| # No AWS call is made, and the job needs no credentials and no secrets. | ||
|
|
||
| name: CI | Test Selector Self-Tests | ||
|
|
||
| on: | ||
| pull_request: | ||
| paths: | ||
| - 'scripts/python/**' | ||
| - '**/*.xcodeproj/project.pbxproj' | ||
| - '.github/workflows/ci_selector_self_tests.yml' | ||
| push: | ||
| branches: | ||
| - main | ||
| paths: | ||
| - 'scripts/python/**' | ||
| - '**/*.xcodeproj/project.pbxproj' | ||
| - '.github/workflows/ci_selector_self_tests.yml' | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| test-selector: | ||
| name: Test selector | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 10 | ||
| steps: | ||
| - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 | ||
| with: | ||
| persist-credentials: false | ||
|
|
||
| - name: Run the self-test | ||
| run: python3 -m unittest discover -s scripts/python -p 'test_*.py' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.