CSCfi / CSCfi/rems

Improve the error messages from GA4GH config options

Open
#2,613 0 comments 0 reactions 0 assignees View on GitHub
Enhancement
Dominant language
Clojure
Stars
66
Forks
28
Avg merge
7d 4h
Merged PRs (30d)
2

Description

Currently if you enable the permissions API but don't provide the GA4GH signing keys, you will get an error from the API call. We can improve by providing a better startup validation and even fail to start on such a combination. We can also check the same for EGA related configuration that requires the same keys.

- [ ] check validity of permission API configs including feature flag and the keys
- [ ] check validity of EGA configs including feature flag, keys and servers

Contributor guide

Open the contributing guide

Research direction

Start by locating the startup configuration handling for the permissions API and EGA settings described in the issue. Check the feature flags, signing keys, and EGA servers together, then verify that invalid combinations fail during startup with clear errors rather than only failing on an API call.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
authorization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.