🔗 WeChat and Work WeChat Auth URL Generator

Generate OAuth URLs for WeChat and Work WeChat

Authorization Type

Configuration Parameters

Generated Result

🔗

Please fill in the required parameters to generate authorization URL

Instructions

1

Select authorization type: WeChat Official Account or Work WeChat

2

Fill in the Application ID, redirect URI and other required parameters

3

Choose appropriate authorization scope and other optional parameters

4

Copy the generated authorization URL and integrate it into your application

💡 Important Tips

Ensure the redirect URI is properly configured in WeChat Official Account backend, otherwise authorization will fail

Redirect URI must use HTTPS protocol (except for local development)

snsapi_userinfo requires manual user confirmation, snsapi_base is silent authorization

Recommend using state parameter to prevent CSRF attacks and ensure request security