Skip to content

OAuth authorization with private SUPLA Cloud instance

Wojciech Frącz edited this page Oct 14, 2020 · 2 revisions
  1. Go to your SUPLA Cloud, log in and go to Account -> Integrations -> My OAuth Apps.
  2. Create new OAuth application:
  • Name: SUPLA Scripts
  • Callback URLs: https://your.supla.scripts.address.com/authorize
  1. 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"
    }
    
  2. Restart SUPLA Scripts.

Clone this wiki locally