web api authorize document
step 1:
First Step
Go to client page: https://www.febbox.com/open/client
Create a client and obtain the client ID
redirect URIs :
After allowing login, the webpage will redirect to this URL and the login credentials will be passed through GET method

Create a client and obtain the client ID
redirect URIs :
After allowing login, the webpage will redirect to this URL and the login credentials will be passed through GET method
Second Step
Create login link
https://www.febbox.com/login/google?client_id=[client_id]&jump=[redirect_uri]After the user successfully logs into Febbox through Google authentication, the system will redirect to the pre-set URL and pass the auth_token parameter,
Exp:https://www.domain.com/febbox?auto_token=xxxxxxxxxxx
https://www.febbox.com/login/google?client_id=[client_id]&jump=[redirect_uri]
Exp:https://www.domain.com/febbox?auto_token=xxxxxxxxxxx
Third Step
Put the obtained auth_token into the cookie, with the key being UI, and you can use some APIs on the webpageExp:
curl 'https://www.febbox.com/xxxxx' -H 'cookie: ui=[auth_token]'
Modified at 2024-12-11 02:45:35