Skip to content
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

Test suite #22

Open
2 tasks
csarven opened this issue Aug 11, 2021 · 3 comments
Open
2 tasks

Test suite #22

csarven opened this issue Aug 11, 2021 · 3 comments

Comments

@csarven
Copy link
Member

csarven commented Aug 11, 2021

Either create own test suite or ensure the ones in the following suites are accurate:

@michielbdejong
Copy link

michielbdejong commented Aug 11, 2021

The one in https://github.com/solid/test-suite is https://github.com/solid/webid-provider-tests

It's worth noting that it's not perfect, and currently only Nextcloud, NSS and PSS pass this test suite, but this is mainly due to the following:

I think any solid-oidc test suite necessarily needs to use some sort of headless browser to mimic the end-user entering their credentials, clicking on a "Login" button, getting redirected from the app to the IDP to the auth server etc.

We (the test-suite team) have done this for NSS, PSS, and Nextcloud.
For NSS and PSS we used custom node-fetch calls to mimic how the user submits data.
For Nextcloud, we used Puppeteer, which is obviously the more powerful way to do this.
For other implementations, we just haven't gone through the trouble of reverse-engineering their GUI.

Contributions very welcome!

@michielbdejong
Copy link

michielbdejong commented Aug 11, 2021

PS: If you're not able to contribute in code, you can also contribute by sponsoring the Independent Solid Test Suite, via Open Collective.

@acoburn
Copy link
Member

acoburn commented Aug 11, 2021

Because Solid-OIDC will likely be just one authentication mechanism for Solid (as opposed to the one-and-only authentication mechanism), I would like to see either a stand-alone suite for Solid-OIDC or else a very modular structure for integration with the existing suites mentioned above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants