refinery-platform
refinery-platform copied to clipboard
HTTP 403 when accessing data set as anonymous user
- Specific code commit: 1bb09be
- Version of the web browser and OS: any
- Environment where the error occurred: AWS
Steps to reproduce
Open any data set in the file browser as an anonymous user
Observed behavior
Browser console shows:
GET https://<hostname>/api/v2/obtain-auth-token/ 403 (FORBIDDEN)
Expected behavior
No error
Notes
The underlying issue is probably due to missing Anonymous User (#1103) but it might be a good idea to add exception handling for this condition anyway (similar to generate_solr_params_for_user())