MetOffice / MetOffice/forest-lite

Make auth optional

Open
#154 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

auth user experience
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.