OAuth2
Configuration
| Configuration | Value |
|---|---|
| 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) |
| Client ID | none |
| Client secret | none |
| Response type | code |
| Available scopes |
|
Notes
The default expiration is 1 year, it is suggested to re-authorized after that time.