-
Notifications
You must be signed in to change notification settings - Fork 395
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
BLT should be SAML-aware in a local environment #2688
Comments
I think this is outside the scope of BLT. @malikkotob's suggestion is one solution. You can also disable SAML in the Behat test itself.
To use that config step, you need to include the config context, which I will submit a PR for. |
Unfortunately this doesn't work.
First I need to prefix the I did ensure I had the correct
|
The issue as I see it is that a significant portion of the sites built with BLT do indeed use SimpleSAMLphp Auth for authentication. As far as I know this is also our recommended approach for authentication. For those two reasons it seems reasonable to expect that BLT would play nicely with sites dependent on SAML. |
@mikemadison13 for visibility. The below looks like horrible UX
|
When you have the
simplesamlphp_auth
module installed locally but no Idp, Behat will just hang forever with no helpful error message when you run tests against any authenticated user role.It's very tricky to understand what's going on. I'd thus suggest we improve the local env detection and alert one way or another when
simplesamlphp_auth
is enabled.On way to work around this is to uninstall the module locally, or - as @malikkotob suggested - to have the following in
local.settings.php
, which indeed is more elegant.The text was updated successfully, but these errors were encountered: