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

Support backticked environment variables in saml config #35

Merged

Conversation

ishannz
Copy link
Contributor

@ishannz ishannz commented Mar 14, 2022

Current Issue: environment variables not supported in the SAML config

Fix: User can use environment variables inside the yml SAML config like this,

SilverStripe\SAML\Services\SAMLConfiguration:
  strict: true
  debug: false
  SP:
    entityId: '`SP_ENTITY_ID`'
    privateKey: '`SP_PRIVATE_KEY_PATH`'
    x509cert: '`SP_PUBLIC_KEY_PATH`'
  IdP:
    entityId: '`IDP_ENTITY_ID`'
    x509cert: '`IDP_PUBLIC_KEY_PATH`'
    singleSignOnService: '`IDP_SSO_SERVICE`'

@madmatt
Copy link
Member

madmatt commented Mar 24, 2022

Looks good to me, thanks @ishannz!

@madmatt madmatt merged commit acf2eef into silverstripe:master Mar 24, 2022
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

Successfully merging this pull request may close these issues.

2 participants