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

downstream_state?string

Existing downstream authorization transaction state

Response Body

Authorization URL generated

application/json
  1. response
authUrl*string
state*string
Example Request
curl -X GET 'https://example.com/api/oauth/string/wechat/login'
Example Response
{
  "authUrl": "string",
  "state": "string"
}