Closed Gautime closed 5 years ago
Update : Able to access authorisation code and use it to exchange for access token. Also stored access token in persistence layer of the app engine to be able to use it to make API requests from anywhere inside the app.
Draft pull request. Need to extract the authentication code received from first api call during authentication. That authentication code is then further used to make another api call involving the code as one of the parameter, to exchange the code for the access token, which will be used while making api requests on behalf of the user.
Logging out slashcommand logs out the user and redirects the authorised_uri, which in this case is the local server address.