Exchange a login code for openid and session key
One step with WeChat. We can help you get access.
Look something up
Exchange a login code for openid and session key
with WeChat · Customer Sign-In
Use WeChat: its WeChat Mini Program Server API (subset) Login API lets you exchange a login code for openid and session key in a single step (GET /sns/jscode2session). capabilities.work can help you get signed up and connected.
- How do I turn a temporary login code from a WeChat Mini Program into an openid and session key?
- Can I decrypt user data with the session key returned from a login code exchange?
Say it to your AI assistant
- Exchange login code {js_code} for openid and session key using app {appid} and secret {secret}.
- Convert mini program login code {js_code} into a session key for decrypting encrypted data.
For your developer
GET /sns/jscode2session in WeChat Mini Program Server API (subset) Login API. Full spec on APIs.io.