OpenID Connect
Configuration
| Configuration | Value |
|---|---|
| Discovery Document URL | https://auth.api.vechain.energy/.well-known/openid-configuration (opens in a new tab) |
| Authorization URL (MainNet) | https://auth.api.vechain.energy/oauth2/authorize (opens in a new tab) |
| Authorization URL (TestNet) | https://auth.api.vechain.energy/oauth2/authorize?network=test (opens in a new tab) |
| Token URL | https://auth.api.vechain.energy/oauth2/token (opens in a new tab) |
| Userinfo URL | https://auth.api.vechain.energy/oauth2/userinfo (opens in a new tab) |
| Token Keys URL | https://auth.api.vechain.energy/jwks (opens in a new tab) |
| Client ID | none |
| Client secret | none |
| Available scopes |
|
The configuration can be tested using the OpenID Connect Playground from Auth0: https://openidconnect.net/ (opens in a new tab)

Notes
- Default expiration is 1 year
- A refresh token is currently not supported, new authorization is suggested after the token expires