-
Notifications
You must be signed in to change notification settings - Fork 10
OAuth authorization with private SUPLA Cloud instance
Wojciech Frącz edited this page Oct 14, 2020
·
2 revisions
- Go to your SUPLA Cloud, log in and go to Account -> Integrations -> My OAuth Apps.
- Create new OAuth application:
- Name: SUPLA Scripts
- Callback URLs:
https://your.supla.scripts.address.com/authorize
-
Go to the server where you have installed SUPLA Scripts and provide the following configuration in
var/config/config.json:"oauth": { "cloudUrl": "https://your.supla.cloud.address.com", "scriptsUrl": "https://your.supla.scripts.address.com", "clientId": "PUBLIC_ID_OF_CREATED_OAUTH_APP", "secret": "SECRET_OF_CREATED_OAUTH_APP" } -
Restart SUPLA Scripts.