mirror of
https://github.com/Suwayomi/Tachidesk.git
synced 2025-12-10 14:52:05 +01:00
[skip ci] Correct wrong tracker oauth example url (#814)
This commit is contained in:
@@ -49,7 +49,7 @@ To be able to redirect to the client you have to attach a `state` object to the
|
|||||||
- example URL for AniList: `https://anilist.co/api/v2/oauth/authorize?client_id=ID&response_type=token&state={ redirectUrl: "http://localhost:4567/handle/oauth/result", trackerId: 1, anyOtherInfo: "your client requires" }`
|
- example URL for AniList: `https://anilist.co/api/v2/oauth/authorize?client_id=ID&response_type=token&state={ redirectUrl: "http://localhost:4567/handle/oauth/result", trackerId: 1, anyOtherInfo: "your client requires" }`
|
||||||
|
|
||||||
Once the permission has been granted, you will get redirected to the client at the provided route (`redirectUrl`).<br/>
|
Once the permission has been granted, you will get redirected to the client at the provided route (`redirectUrl`).<br/>
|
||||||
- Example URL (decoded) for AniList: `http://localhost:4567/tracker/login?access_token=TOKEN&token_type=Bearer&expires_in=31622400&state={ redirectUrl: "http://localhost:4567/handle/oauth/result", trackerId: 1, anyOtherInfo: "your client requires" }`).<br/>
|
- Example URL (decoded) for AniList: `http://localhost:4567/handle/oauth/result?access_token=TOKEN&token_type=Bearer&expires_in=31622400&state={ redirectUrl: "http://localhost:4567/handle/oauth/result", trackerId: 1, anyOtherInfo: "your client requires" }`).<br/>
|
||||||
|
|
||||||
Finally, to finish the login process, you just have to pass this URL to the server as the `callbackUrl`.
|
Finally, to finish the login process, you just have to pass this URL to the server as the `callbackUrl`.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user