OpenFn / OpenFn/adaptors

Standardize authentication for `fhir` on request function

Open
#429 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
24
Forks
41
Avg merge
3d 13h
Merged PRs (30d)
12

Description

Summary

Currently in fhir adaptor in createTransactionBundle the authentication is not properly set handle different types of authentication type. See https://github.com/OpenFn/adaptors/blob/main/packages/fhir/src/Adaptor.js#L96-L118

Modify the request util function handle all type of authentication that FHIR supports
https://www.hl7.org/fhir/security.html#authentication

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 in packages/fhir/src/Adaptor.js, especially the createTransactionBundle code at lines 96-118, and trace the request utility it uses. Read the linked FHIR authentication guidance to identify the supported authentication types. Done means the request utility handles the authentication types required by FHIR rather than applying the current incomplete behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, authentication
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.