MetOffice / MetOffice/forest-lite
Make auth optional
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 6
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
`v0.14.0` uses `forest_lite.server.routers.auth` by default and `client/App.js` uses `LoginForm.js` and `LoginStatus.js` to allow users to interact with the authentication backend.
- Requirement to relax support for user accounts
The following steps should be sufficient:
- [x] Remove server auth router
- [x] Remove client auth component
- [x] Add client cookie parser to set auth_groups
- [ ] Add optional auth_groups argument to REST API
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the REST API entry points and the existing auth_groups handling described in the issue. Check how the client cookie parser supplies auth_groups, then trace the API calls that need to accept it optionally. Done means the REST API supports requests with or without an auth_groups argument and the existing client flow remains functional.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, authentication
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100