From 896c6a6ddcbe59a6ab07840a9df6bb92700c6526 Mon Sep 17 00:00:00 2001 From: Locke Birdsey <5200346+LockeBirdsey@users.noreply.github.com> Date: Sat, 13 Jun 2026 17:58:33 +0000 Subject: [PATCH] Add missing parameter to example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ce62e4f..8702ab6 100644 --- a/README.md +++ b/README.md @@ -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=` 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=&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: