Ofgem · OAuth Scopes
Ofgem OAuth Scopes
OAuth 2.0
searched
Ofgem publishes 5 OAuth 2.0 scopes via the authorizationCode flow. Scopes are the fine-grained permissions an application requests at authorization time to act against the Ofgem API on a user’s behalf.
Tokens are issued from https://pk8sprdofgemcloudb2c.b2clogin.com/pk8sprdofgemcloudb2c.onmicrosoft.com/b2c_1a_rer_signin/oauth2/v2.0/token.
This index is generated from the provider’s OpenAPI security definitions (and, where available, its documented scope reference) and refreshes on every APIs.io network build. Browse every provider’s scopes at scopes.apis.io.
EnergyUnited KingdomUtilitiesElectricityGasEnergy MarketsRegulatorSmart MeteringOpen DataEnergy RegulationRenewablesGreat Britain
Scopes: 5
Flows: authorizationCode
Method: searched
OAuth endpoints
Authorization URL
https://pk8sprdofgemcloudb2c.b2clogin.com/pk8sprdofgemcloudb2c.onmicrosoft.com/b2c_1a_rer_signin/oauth2/v2.0/authorize https://epre-api.ofgem.gov.uk/authenticate/
https://pk8sprdofgemcloudb2c.b2clogin.com/pk8sprdofgemcloudb2c.onmicrosoft.com/b2c_1a_rer_signin/oauth2/v2.0/authorize https://epre-api.ofgem.gov.uk/authenticate/
Token URL
https://pk8sprdofgemcloudb2c.b2clogin.com/pk8sprdofgemcloudb2c.onmicrosoft.com/b2c_1a_rer_signin/oauth2/v2.0/token https://epre-api.ofgem.gov.uk/tokens/
https://pk8sprdofgemcloudb2c.b2clogin.com/pk8sprdofgemcloudb2c.onmicrosoft.com/b2c_1a_rer_signin/oauth2/v2.0/token https://epre-api.ofgem.gov.uk/tokens/
Flows
authorizationCode
authorizationCode
Scopes (5)
| Scope | Description | Flows |
|---|---|---|
| openid | Standard OpenID Connect scope; requests an ID token. | authorizationCode |
| profile | Standard OIDC claim set - name and profile claims. | authorizationCode |
| Standard OIDC claim - email address. Requested by the EPR only. | authorizationCode | |
| offline_access | Refresh-token issuance. Requested by the RER only. | authorizationCode |
| https://pk8sprdofgemcloudb2c.onmicrosoft.com/rercoreservices/user_impersonation | Application scope for the RER core services API, delegated user impersonation. Issued only to the register's own first-party client. | authorizationCode |