Javascript-angular2 to write the front-end website, need to be integrated into WeChat, front and back end separation development how to do?

Source: Internet
Author: User
Tags openid
I am a front-end developer. Do I need to bind my webpage account to my account on the public account? How should I work with the backend to develop this function? I am a front-end developer. Do I need to bind my webpage account to my account on the public account? How should I work with the backend to develop this function?

Reply content:

I am a front-end developer. Do I need to bind my webpage account to my account on the public account? How should I work with the backend to develop this function?

See how to access the public account development document.

Second, you need to associate the account with the web account. The user clicks "log on" and jumps to the code scanning interface. the code scanning is actually an authorization process, and then calls back the callback address configured in the developer's background (oau2authorization ), when a user logs on for the first time, the user needs to verify the user name and password of the web account. after the authentication is passed, the openid and unionid are associated with the web account, later, you will be able to know which web account is based on the openid returned by the call back.

For more information about the functions and differences between openid and unionid, see the public account development document (only service numbers are available for authorized logon ).
Https://mp.weixin.qq.com/wiki

Basically, you only need to provide a logon portal for the front-end, and other tasks are basically back-end tasks.

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.