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

Docs: Add documentation (or command) for running test SAML server #98

Open
kadamwhite opened this issue Jan 21, 2025 · 0 comments
Open
Assignees

Comments

@kadamwhite
Copy link
Contributor

When developing this plugin, we need to be able to run a SAML provider to validate and test the WordPress plugin properly integrates with the authentication provider.

This shell command has been provided by the Altis team as a way to spin up a local identify provider:

    docker run --name=localsaml \
        -p 8086:8080 \
        -p 8443:8443 \
        -e SIMPLESAMLPHP_SP_ENTITY_ID=https://<your-local-wordpress-url>/ \
        -e SIMPLESAMLPHP_SP_ASSERTION_CONSUMER_SERVICE=https://<your-local-wordpress-url>/sso/verify \
        -e SIMPLESAMLPHP_SP_SINGLE_LOGOUT_SERVICE=https://<your-local-wordpress-url>/sso/logout \
        -d --rm kristophjunge/test-saml-idp

Warning

This docker container is not build for Apple Silicon. If using Docker Desktop, you need to be using the Apple Virtualization Framework and need Rosetta enabled.

Image

Notes

  • The trailing slash on the entity ID is required
@allysonsouza allysonsouza self-assigned this Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants