1
0
mirror of synced 2025-12-22 11:26:57 -05:00

Update authorizing-oauth-apps.md

Replace localhost with 127.0.0.1
This commit is contained in:
za
2022-01-03 13:48:48 +07:00
committed by GitHub
parent dfc135a2bf
commit 8e66e34ccb

View File

@@ -298,10 +298,10 @@ subdirectory of the callback URL.
The optional `redirect_uri` parameter can also be used for localhost URLs. If the application specifies a localhost URL and a port, then after authorizing the application users will be redirected to the provided URL and port. The `redirect_uri` does not need to match the port specified in the callback url for the app.
For the `http://localhost/path` callback URL, you can use this `redirect_uri`:
For the `http://127.0.0.1/path` callback URL, you can use this `redirect_uri`:
```
http://localhost:1234/path
http://127.0.0.1:1234/path
```
## Creating multiple tokens for OAuth Apps