generated: '2026-07-27' method: derived source: openapi/hydro-ottawa-green-button-espi-openapi.yml note: >- Zero scopes is the real, expected result. The oauth2 scheme in the Green Button Alliance source specification declares an EMPTY scopes object, and Hydro Ottawa publishes no scopes or permissions reference page anywhere — no scope names were invented. The authorization and token URLs below are the GBA sandbox's, not Hydro Ottawa's; Hydro Ottawa publishes no OAuth endpoints. In the Green Button model the effective grant is expressed through the customer's selection of data types, duration and frequency at authorization time, and is carried on the Authorization resource (fields scope, grant_type, expires_at, status) rather than through a published scope catalogue. schemes: - name: oauth2 source: openapi/hydro-ottawa-green-button-espi-openapi.yml flows: - flow: authorizationCode authorizationUrl: https://sandbox.greenbuttonalliance.org:8443/oauth/authorize tokenUrl: https://sandbox.greenbuttonalliance.org:8443/oauth/token - flow: clientCredentials tokenUrl: https://sandbox.greenbuttonalliance.org:8443/oauth/token scopes: []