mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-06-19 09:13:53 +00:00
Update index.rst (#696)
Not sure how to edit RSt properly, but wanted to point out for others the superhelpful feature that spotipy already includes code to launch an http server to listen for the http callback
This commit is contained in:
parent
06551cd055
commit
72280c850b
@ -159,6 +159,11 @@ must match the redirect URI added to your application in your Dashboard.
|
|||||||
The redirect URI can be any valid URI (it does not need to be accessible)
|
The redirect URI can be any valid URI (it does not need to be accessible)
|
||||||
such as ``http://example.com``, ``http://localhost`` or ``http://127.0.0.1:9090``.
|
such as ``http://example.com``, ``http://localhost`` or ``http://127.0.0.1:9090``.
|
||||||
|
|
||||||
|
.. note:: If you choose an `http`-scheme URL, and it's for `localhost` or
|
||||||
|
`127.0.0.1`, **AND** it specifies a port, then spotispy will instantiate
|
||||||
|
a server on the indicated response to receive the access token from the
|
||||||
|
response at the end of the oauth flow [see the code](https://github.com/plamere/spotipy/blob/master/spotipy/oauth2.py#L483-L490).
|
||||||
|
|
||||||
|
|
||||||
Client Credentials Flow
|
Client Credentials Flow
|
||||||
=======================
|
=======================
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user