From 24795c7ebddff77e67dc8dec2679e91bc599faa0 Mon Sep 17 00:00:00 2001 From: sventec <18218761+sventec@users.noreply.github.com> Date: Fri, 21 Jun 2024 22:49:19 -0400 Subject: [PATCH] Document open_browser in getting started docs --- docs/src/getting_started.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/src/getting_started.rst b/docs/src/getting_started.rst index 30bef23..63b2b66 100644 --- a/docs/src/getting_started.rst +++ b/docs/src/getting_started.rst @@ -62,6 +62,8 @@ can be used with a client with no other redirect URIs whitelisted. Different privileges or `scopes` can be requested when authorising. Below we'll retrieve a token that has every possible scope. The script will open a web page prompting for a Spotify login. +To only display the authorization URI, without opening it in a browser, +set `open_browser` to `False` in `prompt_for_user_token`. The user is then redirected back to the whitelisted redirect URI. Paste the redirected URI in full to the shell to finalise token retrieval.