artefactual / archivematica

Free and open-source digital preservation system designed to maintain standards-based, long-term access to collections of digital objects.
http://www.archivematica.org
GNU Affero General Public License v3.0
429 stars 103 forks source link

Add integration test for OIDC authentication #1995

Closed replaceafill closed 2 months ago

replaceafill commented 2 months ago

Inspired on the integration test of the Storage Service this introduces a Compose environment to set up the Dashboard connected to a Keycloak container to test OIDC authentication.

A new Docker stage has been added to the Dockerfile to set up Firefox and its OS dependencies using playwright for testing the authentication workflows in the web user interface.

Tests have been added to guarantee that:

And finally, a very basic GitHub workflow has also been added which can be triggered manually.