w3c-fedid / FedCM

A privacy preserving identity exchange Web API
https://w3c-fedid.github.io/FedCM/
Other
375 stars 72 forks source link

HOWTO is out of date compared to the spec? #392

Closed philsmart closed 1 year ago

philsmart commented 1 year ago

I think https://github.com/fedidcg/FedCM/blob/main/explorations/HOWTO.md is out of date compared to the spec. Specifically around the IdentityProviderAPIConfig object returned from /fedcm.json. e.g. id_token_endpoint is now id_assertion_endpoint.

npm1 commented 1 year ago

Good catch!

philsmart commented 1 year ago

Also, the fedcm.json example response contains id_token instead of the id_assertion_endpoint. And the example JS credentials API call uses the wrong object parameters e.g. federated instead of providers etc.

Probably some of it has just drifted slightly given the spec is evolving.

npm1 commented 1 year ago

Ah yes, updated the PR to include that too