Authorization code OAuth 2.0


To start the authorization process, the user should click on the link in your app, which will direct them to the URL:

https://worksection.com/oauth2/authorize
The authorization URL must contain the required parameters:

PARAMETERDESCRIPTION
client_id
client_id, received when creating the application.
response_type
Customize the response, return the authorization code. Always specify code.
redirect_uri
URI where the response will be redirected. The URI must meet the requirements of the OAuth2 standard and use the HTTPS protocol.
state
A random text string that will be included in the response to your application at the end of the OAuth stream. The main purpose is to prevent CSRF requests from being spoofed.
scope
OAuth permissions help you fine-tune which data in the Worksection your application will have access to. This parameter is transferred in the form of strings separated by a space or comma. List of available scopes: projects_read, projects_write, tasks_read, tasks_write, costs_read, costs_write, tags_read, tags_write, comments_read, comments_write, files_read, files_write, users_read, users_write,contacts_read, contacts_write, administrative.