Herald
OpenapiOauth

Handle WeChat OAuth callback

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

Path Parameters

realmId*string

Realm ID

Query Parameters

code*string

Authorization code

state*string

OAuth state for CSRF protection

Response Body

Redirect to specified redirect_uri or default

Example Request
curl -X GET 'https://example.com/api/oauth/string/wechat/callback?code=string&state=string'
Example Response
Empty