OpenFn / OpenFn/lightning

`googlehealthcare` credential setup

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

Nobody has claimed this yet.

Dominant language
Elixir
Stars
296
Forks
86
Avg merge
1d 13h
Merged PRs (30d)
50

Description

  • Take Google.ex module and abstract 'generic bits' into an OAuth2 module, leaving behind only the google specific stuff.
  • Using the GoogleSheets credential form as a starting point, add in the fields that a user would need to fill in, like client id, wellknown path etc.
  • The form should fetch the wellknown and provide a test button when the endpoint has been queried (see LightningWeb.AuthProvidersLive )
  • Using the new generic OAuth2 module, add a clause in the maybe_refresh_credential function that uses an OAuth2 credential..

Additional context

We need to have your new googlehealthcare credential run properly on Lightning. Lightning will need a way to know that this is an Oauth2 credential

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 with the Google.ex module, the GoogleSheets credential form, LightningWeb.AuthProvidersLive, and maybe_refresh_credential. Trace how existing Google credentials are abstracted and tested, then confirm that googlehealthcare exposes the requested OAuth2 fields, queries the wellknown endpoint, offers the test action, and refreshes through the generic OAuth2 path.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
authentication, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.