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:
successful OIDC authentication creates a local user in Archivematica's database
authentication of existing local users works with OIDC authentication enabled
authentication of local users can be disabled by adjusting the authentication backends through settings
adjusting the LOGIN_URL setting redirects users to the OIDC authentication page
And finally, a very basic GitHub workflow has also been added which can be triggered manually.
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:
LOGIN_URL
setting redirects users to the OIDC authentication pageAnd finally, a very basic GitHub workflow has also been added which can be triggered manually.