API Integration Manual for Daikin DKN Cloud Wi-Fi Adaptor
6
redirect_uri=CALLBACK_URL
: where the service redirects the user-agent after an
authorization code is granted. This value must match one of the valid redirect URLs
specified in the registration process.
response_type=code
: specifies that your application is requesting an authorization code
grant.
scope=instaldevices
: specifies the level of access that the application is
requesting. In the case of Open API, the scopes must be installations and devices.
state=STATE_TOKEN
: this parameter preserves, as an encoded format, some state
object set by the client in the Authorization request and makes it available to the client in
the response. Used to mitigate CSRF attacks (explained later in more detail).
When the user clicks the link, they must first log in to the service, to authenticate their identity
(unless they are already logged in). In case the user isn’t logged in to DKN Cloud NA, this link will
redirect the user to the following login page:
Step 2.
Once the user is logged in, an authorization site will appear which will request the user to
authorize or deny the third party service to access the user’s information regarding installations and
devices stored in DKN Cloud NA: