Procedure for Account Linking | Documentation SmartMarket
Skip to main content

Procedure for Account Linking

Account linking is the pairing of a user's Sber ID account with his/her account in the vendor's system. As a result, Sber Smart Home gets an access token to send commands to the vendor’s cloud. Authorization and tokenization are done using the standard OAuth 2.0 protocol.

The procedure for account linking is as follows:

  1. In Salute mobile app, a user opens the Device Management section and selects a vendor.
  2. The application displays the vendor authorization form, its address is specified in SmartMarket Studio.
  3. The user enters a login and password. The vendor’s authorization server checks their validity. If everything is correct, the server returns the code to get the token.
  4. Sber Smart Home uses the received code, together with the vendor's Client ID and Secret ID, to send queries for the user’s access token and refresh token, and stores such tokens. The vendor specifies in SmartMarket Studio the Client ID and Secret ID, and queries for receiving the token are sent to the endpoint also specified there.