Tests if your IdP implements all FedCM endpoints according to the spec.
The test suite is currently only used against the FedCM Prototyping IdP.
- The Well-Known File that points to a Manifest
- The config file in an agreed upon location that points to
- Accounts list endpoint
- Client Metadata endpoint
- Identity assertion endpoint
Follow the instructions on FedCM Prototyping IdP to start the IdP with FedCM support.
For some endpoints an auth cookie is needed. Make sure to register an account with the IdP that can be used for testing. In the repo we use the following account: email: [email protected] password: password
. ./scripts/cookie.sh
This script sets a few ENVs that will be needed to run the test suite. Update with your information.
npm ci
npm run test
-
more explicit when cookie is not set
-
add fedcm-idp-typescript as a submodul, or create a monorepo
-
add script to start test with achim's code
-
add fedcm css as submodule
-
add script to test with css