Lunar Energy · Authentication Profile

Lunar Energy Authentication

Authentication

Lunar Energy secures its APIs with http and oauth2 across 2 declared security schemes, as derived from its OpenAPI definitions. OAuth 2.0 is offered via the authorizationCode flow(s).

EnergyHome BatterySolarVirtual Power PlantDERMSDistributed Energy ResourcesGrid ServicesDemand ResponseStorageInverterSmart HomeEnergy ManagementTariffsTelemetryVPPFlex Events
Methods: http, oauth2 Schemes: 2 OAuth flows: authorizationCode API key in:

Security Schemes

bearerAuth oauth2
· flows: authorizationCode
bearerAuth http
scheme: bearer

Source

Authentication Profile

Raw ↑
generated: '2026-07-11'
method: derived
source: openapi/gridshare-customer-api-openapi.yml, openapi/gridshare-partner-api-openapi.yml
summary:
  types:
  - http
  - oauth2
  oauth2_flows:
  - authorizationCode
schemes:
- name: bearerAuth
  type: oauth2
  flows:
  - flow: authorizationCode
    authorizationUrl: https://lunar-customer-prod-us-west-1.auth.us-west-1.amazoncognito.com/oauth2/authorize
    tokenUrl: https://lunar-customer-prod-us-west-1.auth.us-west-1.amazoncognito.com/oauth2/token
    scopes: 4
  description: |-
    OAuth 2.0 Authorization Code flow against the lunar-customer
    Amazon Cognito user pool.
  sources:
  - openapi/gridshare-customer-api-openapi.yml
- name: bearerAuth
  type: http
  scheme: bearer
  bearerFormat: JWT
  description: |-
    OAuth 2.0 client-credentials access token obtained from the
    Gridshare partner Cognito authentication endpoint.
  sources:
  - openapi/gridshare-partner-api-openapi.yml