Herald
OpenapiOauth

Generate WeChat authorization URL (QRconnect)

GET
/api/oauth/{realmId}/wechat/login

Path Parameters

realmId*string

Realm ID

Query Parameters

redirect_uri?string

Redirect URI after successful login

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/oauth/string/wechat/login"
{  "authUrl": "string",  "state": "string"}
{  "code": "string",  "details": null,  "message": "string",  "requestId": "string",  "status": 0}
{  "code": "string",  "details": null,  "message": "string",  "requestId": "string",  "status": 0}
{  "code": "string",  "details": null,  "message": "string",  "requestId": "string",  "status": 0}