BioContext7

OAuth Integration

Configure OAuth for authenticated access to protected registries

Overview

BioContext7 supports OAuth 2.0 for accessing protected registries and APIs that require authenticated access.

Supported Providers

ProviderProtocolUse Case
GitHubOAuth 2.0Private repository access
ORCIDOAuth 2.0Researcher identity verification
GA4GH PassportOAuth 2.0 + VisaControlled-access genomic data

GitHub OAuth

Configure

bc7 auth login github

This opens a browser for the OAuth flow. The token is stored securely in your system keychain.

Usage

Once authenticated, BioContext7 can access:

  • Private tool repositories
  • GitHub-hosted tool manifests
  • Repository metadata for tool verification

GA4GH Passport

For accessing controlled-access data through GA4GH Beacon and other federated services:

bc7 auth login ga4gh --issuer https://login.elixir-czech.org/oidc/

Visa Types

VisaDescription
AffiliationAndRoleInstitutional affiliation
AcceptedTermsAndPoliciesData use agreement acceptance
ResearcherStatusBona fide researcher status
ControlledAccessGrantsSpecific dataset access grants

Token Management

# List stored tokens
bc7 auth list
 
# Remove a token
bc7 auth logout github
 
# Refresh an expired token
bc7 auth refresh github

Configuration

Override OAuth settings in ~/.biocontext7/config.yaml:

auth:
  github:
    client_id: "your-client-id"
    scopes: ["repo", "read:org"]
  ga4gh:
    issuer: "https://login.elixir-czech.org/oidc/"
    scopes: ["openid", "ga4gh_passport_v1"]

On this page