HUB
Sign inSign up
x4b-test-saml-idp logo

xcomponent/x4b-test-saml-idp

By xcomponent

•Updated about 4 years ago

Image
0

10K+

xcomponent/x4b-test-saml-idp repository overview

⁠SAML2 Identity Provider for X4B

This project contains the Docker image of the test SAML2 identity provider for X4B.

⁠Configuration

The following environment variables should be set for the image:

VariableDefault value
SIMPLESAMLPHP_ADMIN_PASSWORDsecret
SIMPLESAMLPHP_SECRET_SALTdefaultsecretsalt
SIMPLESAMLPHP_SP_ENTITY_ID
SIMPLESAMLPHP_SP_ASSERTION_CONSUMER_SERVICE

The following accounts are configured in authsources.php

UsernamePasswordRoles
kylekyleAdmin
arnoldarnoldRead, Write
hankhankRead

The user name is set in an attribute called UTCode@DOMAIN and the roles list is sent in the ProfileList attribute.

The container exposes the port 8080.

⁠Running the service

The image is in the xcomponent private Docker resgistry xcomponent/x4b-test-saml-idp

Here is a sample command to run the image:

docker run --name=testsamlidp_idp \
-p 8080:8080 \
-e SIMPLESAMLPHP_SP_ENTITY_ID=http://your.service.com \
-e SIMPLESAMLPHP_SP_ASSERTION_CONSUMER_SERVICE=http://your.service.com/logincallback \
-d xcomponent/x4b-test-saml-idp

When the container is up you should be able to access its web page on http://localhost:8080/simplesaml.

The identity provider's metadata is accessible on http://localhost:8080/simplesaml/saml2/idp/metadata.php.

Tag summary
Recent tags
Content type
Image
Digest
sha256:01fbed4a2…
Size
181.7 MB
Last updated
about 4 years ago
docker pull xcomponent/x4b-test-saml-idp:latest