Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ Console application requires a bit more manual work than the web app. User accou

### Linking and registering the user

First we beed to start the callback service by running:
First we need to start the callback service by running:

```bash
python authorization_callback_server.py
```

When the callback service is running, navigate to `https://flow.polar.com/oauth2/authorization?response_type=code&client_id=<YOUR_CLIENT_ID>` to link the user account and register the user. You should see Polar Flow login window if not logged in already. Otherwise your browser should be redirected to the callback url and the linking should be completed.
When the callback service is running, navigate to `https://flow.polar.com/oauth2/authorization?response_type=code&client_id=<YOUR_CLIENT_ID>&redirect_uri=http://localhost:5000/oauth2_callback` to link the user account and register the user. You should see Polar Flow login window if not logged in already. Otherwise your browser should be redirected to the callback url and the linking should be completed.

After linking has been done you may close [authorization_callback_server.py]. Access token and user id should be automatically saved to [config.yml] and the file should look similar to following:

Expand Down