-
-
Notifications
You must be signed in to change notification settings - Fork 964
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: improve OIDC account linking UI (#4036)
- Loading branch information
1 parent
dbe9d10
commit 2b4a618
Showing
23 changed files
with
556 additions
and
106 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
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
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
185 changes: 185 additions & 0 deletions
185
...n_flow_if_email_is_already_being_used_by_password_credentials-case=should_fail_login.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,185 @@ | ||
{ | ||
"organization_id": null, | ||
"type": "browser", | ||
"active": "oidc", | ||
"ui": { | ||
"method": "POST", | ||
"nodes": [ | ||
{ | ||
"type": "input", | ||
"group": "oidc", | ||
"attributes": { | ||
"name": "provider", | ||
"type": "submit", | ||
"value": "claimsViaUserInfo", | ||
"disabled": false, | ||
"node_type": "input" | ||
}, | ||
"messages": [], | ||
"meta": { | ||
"label": { | ||
"id": 1010018, | ||
"text": "Confirm with claimsViaUserInfo", | ||
"type": "info", | ||
"context": { | ||
"provider": "claimsViaUserInfo" | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"type": "input", | ||
"group": "oidc", | ||
"attributes": { | ||
"name": "provider", | ||
"type": "submit", | ||
"value": "invalid-issuer", | ||
"disabled": false, | ||
"node_type": "input" | ||
}, | ||
"messages": [], | ||
"meta": { | ||
"label": { | ||
"id": 1010018, | ||
"text": "Confirm with invalid-issuer", | ||
"type": "info", | ||
"context": { | ||
"provider": "invalid-issuer" | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"type": "input", | ||
"group": "oidc", | ||
"attributes": { | ||
"name": "provider", | ||
"type": "submit", | ||
"value": "secondProvider", | ||
"disabled": false, | ||
"node_type": "input" | ||
}, | ||
"messages": [], | ||
"meta": { | ||
"label": { | ||
"id": 1010018, | ||
"text": "Confirm with secondProvider", | ||
"type": "info", | ||
"context": { | ||
"provider": "secondProvider" | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"type": "input", | ||
"group": "oidc", | ||
"attributes": { | ||
"name": "provider", | ||
"type": "submit", | ||
"value": "valid2", | ||
"disabled": false, | ||
"node_type": "input" | ||
}, | ||
"messages": [], | ||
"meta": { | ||
"label": { | ||
"id": 1010018, | ||
"text": "Confirm with valid2", | ||
"type": "info", | ||
"context": { | ||
"provider": "valid2" | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"type": "input", | ||
"group": "default", | ||
"attributes": { | ||
"name": "csrf_token", | ||
"type": "hidden", | ||
"required": true, | ||
"disabled": false, | ||
"node_type": "input" | ||
}, | ||
"messages": [], | ||
"meta": {} | ||
}, | ||
{ | ||
"type": "input", | ||
"group": "default", | ||
"attributes": { | ||
"name": "identifier", | ||
"type": "hidden", | ||
"value": "[email protected]", | ||
"required": true, | ||
"disabled": false, | ||
"node_type": "input" | ||
}, | ||
"messages": [], | ||
"meta": { | ||
"label": { | ||
"id": 1070004, | ||
"text": "ID", | ||
"type": "info" | ||
} | ||
} | ||
}, | ||
{ | ||
"type": "input", | ||
"group": "password", | ||
"attributes": { | ||
"name": "password", | ||
"type": "password", | ||
"required": true, | ||
"autocomplete": "current-password", | ||
"disabled": false, | ||
"node_type": "input" | ||
}, | ||
"messages": [], | ||
"meta": { | ||
"label": { | ||
"id": 1070001, | ||
"text": "Password", | ||
"type": "info" | ||
} | ||
} | ||
}, | ||
{ | ||
"type": "input", | ||
"group": "password", | ||
"attributes": { | ||
"name": "method", | ||
"type": "submit", | ||
"value": "password", | ||
"disabled": false, | ||
"node_type": "input" | ||
}, | ||
"messages": [], | ||
"meta": { | ||
"label": { | ||
"id": 1010022, | ||
"text": "Sign in with password", | ||
"type": "info" | ||
} | ||
} | ||
} | ||
], | ||
"messages": [ | ||
{ | ||
"id": 1010016, | ||
"text": "You tried to sign in with \"[email protected]\", but that email is already used by another account. Sign in to your account with one of the options below to add your account \"[email protected]\" at \"generic\" as another way to sign in.", | ||
"type": "info", | ||
"context": { | ||
"duplicateIdentifier": "[email protected]", | ||
"provider": "generic" | ||
} | ||
} | ||
] | ||
}, | ||
"refresh": false, | ||
"requested_aal": "aal1", | ||
"state": "choose_method" | ||
} | ||
|
Oops, something went wrong.