-
Notifications
You must be signed in to change notification settings - Fork 99
Add tel and username attributes
#718
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
Conversation
Also makes `name` and `email` optional but requires that one of these four is provided. Bug: w3c-fedid#435
|
I addressed Ted's two comments. |
|
I have updated the PR to change "phone" to "tel". This matches HTML5 instead of inventing a new term. |
Added agenda+ in case we wanna discuss this question? |
| }, { | ||
| "id": "5678", | ||
| "given_name": "Johnny", | ||
| "name": "Johnny", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why remove?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wanted an example to show that you don't need to specify name and email anymore.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it make sense to have an example with the new attributes then?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
|
On Thu, Apr 17, 2025, 14:17 Nicolás Peña Moreno ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In spec/index.bs
<#718 (comment)>:
> @@ -1238,7 +1238,14 @@ returns an {{IdentityProviderAccountList}}.
|responseBody|.
1. [=converted to an IDL value|Convert=] |json| to an {{IdentityProviderAccountList}}, and
store the result in |accountsList|.
- 1. If one of the previous two steps threw an exception, set |accountsList| to failure.
+ 1. If one of the previous two steps threw an exception, or if there is an account in
+ |accountsList| that has neither {{IdentityProviderAccount/email}}, {{IdentityProviderAccount/name}},
+ {{IdentityProviderAccount/tel}}, nor {{IdentityProviderAccount/username}} set, set |accountsList|
Where does the spec say to reject everything if an account is missing name
or ID?
They are marked `required`, so their absence makes the previous step throw
an exception.
—
… Reply to this email directly, view it on GitHub
<#718 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALKCZI23HMNEPOHNFCZSQL2Z7V4HAVCNFSM6AAAAAB3JHT6Y2VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDONZWGU4DGMBWHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
|
Discussed during the FedID WG/CG meeting 22 April 2025 https://github.com/w3c-fedid/meetings/blob/main/2025/2025-04-22-FedCM-agenda.md |
phone and username attributestel and username attributes
SHA: 7ed3425 Reason: push, by pull[bot] Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Also makes
nameandemailoptional but requires that one of these four is provided.Bug: #435
Preview | Diff