OpenFn / OpenFn/apollo

Auth: local lightning should be able to call apollo without setting up auth

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

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
5
Forks
10
Avg merge
2d 20h
Merged PRs (30d)
17

Description

Setting up auth is hard and annoying for local developers, adding unncessary complication.

You don't need auth to call the apollo endpoints directly. But if you're using local lightning, you DO need to set up auth, and that's a pain.

This is probably a lightning issue really: but I should be able to run lightning in a mode like SKIP_APOLLO_AUTH (or even better just detect that we're running in dev environment, or maybe even opt-in to auth mode in prod) and this would stop lightning sending API keys to apollo.

Contributor guide

Open the contributing guide

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 tracing how local lightning authenticates requests to the Apollo endpoints and where it sends API keys. Compare the local-development and production paths described in the issue, then run the relevant local workflow. Done means local lightning can call Apollo without auth setup while production authentication remains protected.

Written by the indexing model from the issue text.

Assessment

Domain
api, authentication
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.