Setup
Step 1:
You will receive the following data for your project
Step 2:
Use the following private API to update your account info
Update account info
POST
https://api.well.eco/oauth/account/{project_id}
An API to update your account info
Headers
Content-Type
application/json
Body(JSON)
secret
The secret provided by us (required)
host
The host that match your website, you need to set this for your account to work probably
privacyPolicyURL
Your privacy policy page URL (optional)
termsOfServiceURL
Your terms of service page URL (optional)
logoURL
Your logo url, prefer linking to a 50x50 jpg image, please set this as it will affect how your project looks on the WECO website
infoURL
Link to your website, will display on WECO website
type
Type of your project, will display on WECO website
chain
Chain of your project, will display on WECO website
tgResultCallbackURL
Required if you are using the oauth in a telegram app
tgBotID
Required if you are using the oauth in a telegram app
tgBotMiniAppURL
Required if you are using the oauth in a telegram app, the url to open your telegram mini app
Example
Response
Last updated