inrupt / solid-client-authn-js

A client library for authenticating with Solid
https://solid-client-authn-js.vercel.app
Other
69 stars 42 forks source link

FedCM support #3701

Open elf-pavlik opened 1 month ago

elf-pavlik commented 1 month ago

Search terms you've used

FedCM

Impacted environment

In which environment would the proposed feature apply ?

Feature suggestion

Add support for FedCM (FPWD), which is on the REC track in FedID WG

Expected functionality/enhancement

The best example of how it could work with Solid-OIDC might be how it was implemented for IndieAuth. https://indieweb.org/FedCM_for_IndieAuth

It can already be tested in Chrome behind flags.

There is also Lightweight FedCM proposal which works in Firefox nightly. IndieAuth should also have it figured out soon.

Actual functionality/enhancement

The user will not have to enter the URL of their OP/IDP, not even their WebID. They will select their registered IDP from a small widget displayed by the browser.

Use Cases

Improved UX in the web browser.

Additional information

@thhck have done a prototype for CSS https://github.com/w3c-fedid/idp-registration/issues/2#issuecomment-2334798424 I will coordinate with him to land everything that's needed in CSS.

@acoburn is also familiar with FedCM progress.

This feature is now tracked as IdP Registration API and needs implementation feedback and interest signals.

NSeydoux commented 4 weeks ago

Hi @elf-pavlik , thanks for opening this. Support for FedCM would be an interesting addition to this library indeed.