Authorization
Authorization is the process of granting permission to access a resource. In the case of the Salla CLI, authorization allows the CLI to access the developer's Salla Partners Portal account to perform certain actions. Salla uses the OAuth 0.2 protocol across its platform to ensure a secure environment for its users.
The developer can use the login
command to authorize the CLI to communicate with the Salla Partners Portal. This command will handle all authentication and authorization processes with the developer's Salla Partners Portal account.
📙 What you'll learn
Authorize Salla CLI
To authorize the Salla CLI to access the developer's Salla Partners Portal account, run the salla login
command as follows:
salla login
This command will prompt the developer to enter their Salla Partners Portal account username and password in the browser and verify the login by email OTP if necessary. Once the authentication process is complete, the CLI will be authorized to access the developer's Salla Partners Portal account and perform authorized actions on their behalf such as creating an app or theme.