How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Elhub Authentication API

Authentication

Elhub Authentication API is one of 92 APIs that Elhub publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 47 JSON Schema definitions.

Tagged areas include Authentication. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and 47 JSON Schemas.

This API exposes 8 operations across 7 paths, and defines 8 schemas. It is described by OpenAPI 3.2.0, at version 1.

Requests are made against a single base URL, https://localhost:7001/auth/v1.

8 operations 7 paths 8 schemas 1 DELETE5 GET2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1
Base URL
https://api.elhub.no
Authentication
HTTP Bearer
Contact
Resource Areas
1

Authentication & Security 1

Elhub Authentication API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (JWT) (bearerAuth). By default, every request must be authenticated.

  • bearerAuth — Bearer token using a JWT

Paths & Operations 8

Across 7 paths, the API surfaces 8 operations — 1 DELETE, 5 GET, 2 POST. Each is listed below with its method, path, parameters, and response codes.

Authentication 8

Authentication

GET
/session
Read session from cookie
read_session → 200204500
POST
/assume
Call assume
call_assume body → 200401400500
DELETE
/assume
Delete assume
delete_assume → 200401500
GET
/login
Call login
call_login 1 param → 302400500
GET
/callback
Call callback
call_callback 3 params → 302400401500
GET
/logout
Call logout
call_logout → 302
POST
/token
Call token
call_token 1 param body → 200400401429500
GET
/userinfo
Read userinfo
read_userinfo → 200401500

Schemas 8

The contract defines 8 schemas that model the data the API accepts and returns. The most detailed are userinfo_response (6 properties), session_response (6 properties), oauth_error_message (4 properties), error_message (4 properties). Each schema is shown below with its type and property counts.

jwt_bearer_request
object
JWT Bearer authorization grant request
2 properties 2 required
error_message
object
Error message returned from the API.
4 properties 2 required
userinfo_response
object
Information about the current user
6 properties 1 required
session_response
object
Session response
6 properties 4 required
client_credentials_request
object
Client credentials body
3 properties 3 required
token_exchange_request
object
Token exchange body
4 properties 4 required
flex_role
string
The auth role in the Flexibility Information System
oauth_error_message
object
Error message returned from the API for oAuth errors.
4 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

elhub-authentication-api-openapi.yml Raw ↑

Other APIs Elhub publishes across the network.

Data Export API
Elhub Accounting Point API
Elhub Accounting Point Balance Responsible Party API
Elhub Accounting Point Bidding Zone API
Elhub Accounting Point End User API
Elhub Accounting Point Energy Supplier API
Elhub Accounting Point Grid Location API
Elhub Accounting Point Metering Grid Area API
Elhub Authorization Documents API
Elhub Authorization Grants API
Elhub Authorization Requests API
Elhub Consumption group API
Where this information came from

This is an independent, third-party profile of Elhub Authentication API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.