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

Basic auth on production seems faulty #67

Closed
emteknetnz opened this issue May 15, 2019 · 2 comments
Closed

Basic auth on production seems faulty #67

emteknetnz opened this issue May 15, 2019 · 2 comments

Comments

@emteknetnz
Copy link
Member

emteknetnz commented May 15, 2019

The instructions here https://www.cwp.govt.nz/developer-docs/en/2/how_tos/basic_auth/ for enabling basic auth on prod don't appear to be working correctly

---
Name: mysitesecuritylive
After: '#cwpsecuritylive'
---
SilverStripe\Security\BasicAuth:
  entire_site_protected: true

Non admin users (e.g. content author) were unable to get past the basic auth pop-up after entering their credentials and https://dash.cwp.govt.nz/naut/project/mystack/environment/prod/letmein was not working either

@robbieaverill
Copy link
Contributor

I think the "Enabling in production" section is outdated, and needs to be updated to reference BasicAuthMiddleware configuration instead.

@brynwhyman
Copy link
Contributor

Raised an issue to update the docs separately silverstripe/cwp#197

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants