JAVASCRIPT-ANGULAR2 write the front-end site, need to integrate into the WeChat, front-end separation development how to do?

Source: Internet
Author: User
Tags call back openid
I am a front-end developer and need to bind web accounts and accounts in the public number? How do I develop this functionality with the backend?

Reply content:

I am a front-end developer and need to bind web accounts and accounts in the public number? How do I develop this functionality with the backend?

Please refer to the Public number development documentation for access.

Second, you need to associate the account with the Web account. Users click to use login will jump to scan code interface, scan code is actually an authorization process, and then callback in the developer backend configuration callback address (OAuth2 authorization), the first time users use login, users need to verify the user name password of the Web account, After verifying that the OpenID and Unionid are linked to the Web account, the Web account is then known by the OpenID returned by the call back.

The roles and distinctions of OpenID and Unionid also refer to the Public development documentation (authorized logins are only available for service numbers).
Https://mp.weixin.qq.com/wiki

Basically, the front end simply provides a login entry, and the rest is basically the back end thing.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.