-
Notifications
You must be signed in to change notification settings - Fork 974
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
865 additions
and
82 deletions.
There are no files selected for viewing
This file contains 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 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 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 |
---|---|---|
|
@@ -17,7 +17,6 @@ | |
} | ||
}, | ||
"required": [ | ||
"csrf_token", | ||
"method" | ||
] | ||
} | ||
|
176 changes: 176 additions & 0 deletions
176
...passkey/.snapshots/TestCompleteSettings-case=a_device_is_shown_which_can_be_unlinked.json
This file contains 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,176 @@ | ||
[ | ||
{ | ||
"attributes": { | ||
"disabled": false, | ||
"name": "passkey_register_trigger", | ||
"node_type": "input", | ||
"type": "button", | ||
"value": "" | ||
}, | ||
"group": "passkey", | ||
"messages": [], | ||
"meta": { | ||
"label": { | ||
"id": 1050019, | ||
"text": "Add passkey", | ||
"type": "info" | ||
} | ||
}, | ||
"type": "input" | ||
}, | ||
{ | ||
"attributes": { | ||
"disabled": false, | ||
"name": "passkey_remove", | ||
"node_type": "input", | ||
"type": "submit", | ||
"value": "626172626172" | ||
}, | ||
"group": "passkey", | ||
"messages": [], | ||
"meta": { | ||
"label": { | ||
"context": { | ||
"added_at": "0001-01-01T00:00:00Z", | ||
"added_at_unix": -62135596800, | ||
"display_name": "bar" | ||
}, | ||
"id": 1050020, | ||
"text": "Remove passkey \"bar\"", | ||
"type": "info" | ||
} | ||
}, | ||
"type": "input" | ||
}, | ||
{ | ||
"attributes": { | ||
"disabled": false, | ||
"name": "passkey_remove", | ||
"node_type": "input", | ||
"type": "submit", | ||
"value": "666f6f666f6f" | ||
}, | ||
"group": "passkey", | ||
"messages": [], | ||
"meta": { | ||
"label": { | ||
"context": { | ||
"added_at": "0001-01-01T00:00:00Z", | ||
"added_at_unix": -62135596800, | ||
"display_name": "foo" | ||
}, | ||
"id": 1050020, | ||
"text": "Remove passkey \"foo\"", | ||
"type": "info" | ||
} | ||
}, | ||
"type": "input" | ||
}, | ||
{ | ||
"attributes": { | ||
"disabled": false, | ||
"name": "passkey_settings_register", | ||
"node_type": "input", | ||
"type": "hidden" | ||
}, | ||
"group": "passkey", | ||
"messages": [], | ||
"meta": {}, | ||
"type": "input" | ||
}, | ||
{ | ||
"attributes": { | ||
"disabled": false, | ||
"name": "create_passkey_data", | ||
"node_type": "input", | ||
"type": "hidden" | ||
}, | ||
"group": "passkey", | ||
"messages": [], | ||
"meta": {}, | ||
"type": "input" | ||
}, | ||
{ | ||
"attributes": { | ||
"disabled": false, | ||
"name": "csrf_token", | ||
"node_type": "input", | ||
"required": true, | ||
"type": "hidden" | ||
}, | ||
"group": "default", | ||
"messages": [], | ||
"meta": {}, | ||
"type": "input" | ||
}, | ||
{ | ||
"attributes": { | ||
"disabled": false, | ||
"name": "traits.website", | ||
"node_type": "input", | ||
"type": "text" | ||
}, | ||
"group": "profile", | ||
"messages": [], | ||
"meta": {}, | ||
"type": "input" | ||
}, | ||
{ | ||
"attributes": { | ||
"disabled": false, | ||
"name": "traits.email", | ||
"node_type": "input", | ||
"type": "text" | ||
}, | ||
"group": "profile", | ||
"messages": [], | ||
"meta": {}, | ||
"type": "input" | ||
}, | ||
{ | ||
"attributes": { | ||
"disabled": false, | ||
"name": "traits.subject", | ||
"node_type": "input", | ||
"type": "text" | ||
}, | ||
"group": "profile", | ||
"messages": [], | ||
"meta": {}, | ||
"type": "input" | ||
}, | ||
{ | ||
"attributes": { | ||
"disabled": false, | ||
"name": "method", | ||
"node_type": "input", | ||
"type": "submit", | ||
"value": "profile" | ||
}, | ||
"group": "profile", | ||
"messages": [], | ||
"meta": { | ||
"label": { | ||
"id": 1070003, | ||
"text": "Save", | ||
"type": "info" | ||
} | ||
}, | ||
"type": "input" | ||
}, | ||
{ | ||
"attributes": { | ||
"async": true, | ||
"crossorigin": "anonymous", | ||
"id": "webauthn_script", | ||
"integrity": "sha512-YzOFTy1y50T/3vPo0kEOcZASjzaclfJEHdP52e8Tq5g2n8B9ybVa5VdtX1YBBysvFluHihEzXoSFpEF/mRtBKQ==", | ||
"node_type": "script", | ||
"referrerpolicy": "no-referrer", | ||
"type": "text/javascript" | ||
}, | ||
"group": "webauthn", | ||
"messages": [], | ||
"meta": {}, | ||
"type": "script" | ||
} | ||
] |
128 changes: 128 additions & 0 deletions
128
...trategy/passkey/.snapshots/TestCompleteSettings-case=one_activation_element_is_shown.json
This file contains 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,128 @@ | ||
[ | ||
{ | ||
"attributes": { | ||
"disabled": false, | ||
"name": "passkey_register_trigger", | ||
"node_type": "input", | ||
"type": "button", | ||
"value": "" | ||
}, | ||
"group": "passkey", | ||
"messages": [], | ||
"meta": { | ||
"label": { | ||
"id": 1050019, | ||
"text": "Add passkey", | ||
"type": "info" | ||
} | ||
}, | ||
"type": "input" | ||
}, | ||
{ | ||
"attributes": { | ||
"disabled": false, | ||
"name": "passkey_settings_register", | ||
"node_type": "input", | ||
"type": "hidden" | ||
}, | ||
"group": "passkey", | ||
"messages": [], | ||
"meta": {}, | ||
"type": "input" | ||
}, | ||
{ | ||
"attributes": { | ||
"disabled": false, | ||
"name": "create_passkey_data", | ||
"node_type": "input", | ||
"type": "hidden" | ||
}, | ||
"group": "passkey", | ||
"messages": [], | ||
"meta": {}, | ||
"type": "input" | ||
}, | ||
{ | ||
"attributes": { | ||
"disabled": false, | ||
"name": "csrf_token", | ||
"node_type": "input", | ||
"required": true, | ||
"type": "hidden" | ||
}, | ||
"group": "default", | ||
"messages": [], | ||
"meta": {}, | ||
"type": "input" | ||
}, | ||
{ | ||
"attributes": { | ||
"disabled": false, | ||
"name": "traits.website", | ||
"node_type": "input", | ||
"type": "text" | ||
}, | ||
"group": "profile", | ||
"messages": [], | ||
"meta": {}, | ||
"type": "input" | ||
}, | ||
{ | ||
"attributes": { | ||
"disabled": false, | ||
"name": "traits.email", | ||
"node_type": "input", | ||
"type": "text" | ||
}, | ||
"group": "profile", | ||
"messages": [], | ||
"meta": {}, | ||
"type": "input" | ||
}, | ||
{ | ||
"attributes": { | ||
"disabled": false, | ||
"name": "traits.subject", | ||
"node_type": "input", | ||
"type": "text" | ||
}, | ||
"group": "profile", | ||
"messages": [], | ||
"meta": {}, | ||
"type": "input" | ||
}, | ||
{ | ||
"attributes": { | ||
"disabled": false, | ||
"name": "method", | ||
"node_type": "input", | ||
"type": "submit", | ||
"value": "profile" | ||
}, | ||
"group": "profile", | ||
"messages": [], | ||
"meta": { | ||
"label": { | ||
"id": 1070003, | ||
"text": "Save", | ||
"type": "info" | ||
} | ||
}, | ||
"type": "input" | ||
}, | ||
{ | ||
"attributes": { | ||
"async": true, | ||
"crossorigin": "anonymous", | ||
"id": "webauthn_script", | ||
"integrity": "sha512-YzOFTy1y50T/3vPo0kEOcZASjzaclfJEHdP52e8Tq5g2n8B9ybVa5VdtX1YBBysvFluHihEzXoSFpEF/mRtBKQ==", | ||
"node_type": "script", | ||
"referrerpolicy": "no-referrer", | ||
"type": "text/javascript" | ||
}, | ||
"group": "webauthn", | ||
"messages": [], | ||
"meta": {}, | ||
"type": "script" | ||
} | ||
] |
3 changes: 1 addition & 2 deletions
3
selfservice/strategy/passkey/fixtures/settings/success/internal_context.json
This file contains 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.