Skip to content

Liquid-Surf/fedcm-test-suite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FedCM Test Suite

Tests if your IdP implements all FedCM endpoints according to the spec.

Supported

The test suite is currently only used against the FedCM Prototyping IdP.

How to Run

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

TODO

  • 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

About

Test your IdP for FedCM compatibility

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published