Elhub · Authentication Profile

Elhub Authentication

Authentication

Elhub secures its APIs with http across 2 declared security schemes, as derived from its OpenAPI definitions.

CompanyEnergyElectricityDatahubMeteringOpen DataNorwayUtilities
Methods: http Schemes: 2 OAuth flows: API key in:

Security Schemes

bearerAuth http
scheme: bearer
bearerAuth http
scheme: Bearer

Source

Authentication Profile

Raw ↑
generated: '2026-10-09'
method: searched
source: https://api.elhub.no/restricted-endpoints/maskinporten
summary:
  types:
  - http
schemes:
- name: bearerAuth
  type: http
  scheme: bearer
  bearerFormat: JWT
  sources:
  - openapi/elhub-access-api-openapi.yml
  - openapi/elhub-market-data-contracts-api-openapi.yml
  - openapi/elhub-settlement-virtual-calculations-api-openapi.yml
- name: bearerAuth
  type: http
  scheme: Bearer
  bearerFormat: JWT
  description: Bearer token using a JWT
  sources:
  - openapi/elhub-flex-information-system-auth-api-openapi.yml
  - openapi/elhub-flex-information-system-grid-api-openapi.yml
  - openapi/elhub-flex-information-system-main-api-openapi.yml
docs: https://api.elhub.no/restricted-endpoints/maskinporten
derived_from:
- openapi/elhub-access-api-openapi.yml
- openapi/elhub-market-data-contracts-api-openapi.yml
- openapi/elhub-settlement-virtual-calculations-api-openapi.yml
- openapi/elhub-flex-information-system-*-api-openapi.yml
public_access: Public APIs are open for everyone and do not require any authorization.
providers:
- api: API Portal protected APIs (Energy Data restricted datasets, Data Export, Market Data, Access, Settlement, Metering Values)
  identity_provider: Maskinporten (Digdir)
  flow: 'Maskinporten OAuth2 JWT-bearer token, sent as Authorization: Bearer {token}'
  onboarding: Order Maskinporten access via Digdir Samarbeidsportalen, then contact post@elhub.no to be assigned the Elhub scope
  requires: a data sharing agreement with Elhub or a pre-existing right to the data in Elhub
  source: https://api.elhub.no/restricted-endpoints/maskinporten
- api: Access API / Settlement API
  headers:
  - name: Authorization
    required: true
    value: Bearer <maskinporten access token>
  - name: SenderGLN
    required: true
    purpose: GLN of the party making the request.
  - name: OnBehalfOfGln
    required: false
    purpose: identifies the organization being represented when a service provider acts for another organization
  source: https://api.elhub.no/access-api/getting-started
- api: Flexibility Information System
  methods:
  - JWT Bearer (self-signed JWT authorization grant with a public key uploaded to an entity client)
  - Client Credentials (client_id = entity client UUID, client_secret = password set on the client)
  - OpenID Connect for portal users (ID-porten expected in production)
  token_endpoint_operation: call_token
  source: https://elhub.github.io/flex-information-system/auth/authn-methods/
docs_pages:
- https://api.elhub.no/restricted-endpoints/maskinporten
- https://api.elhub.no/settlement-api/authentication
- https://api.elhub.no/access-api/getting-started
- https://elhub.github.io/flex-information-system/auth/authn-methods/

Work with this as data

Every security artifact here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for security posture

4 MCP tools reach this
  • find_securityBrowse and filter every security artifact in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This security artifact
curl "https://apis.io/api/v1/security/elhub-authentication"
All security posture
curl "https://apis.io/api/v1/security?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.