# Mini Program login (wx.login) Introductions

  • Use in WeChat Mini Program wx.login The login is implemented, but the interface is used in the App N / A
  • App The login method is generally mobile phone number login, WeChat login and so on.
  • And WeChat Mini Program login, generally in the Mini Program side call wx.login Obtain Code, and then in the server side authentication way to achieve login.
  • Based on this background, the platform has added wx.weixinMiniProgramLogin and wx.getMiniProgramCode Login Scheme as Multiterminal Application Adaptation Mini Program
  • A trial scenario for these two interfaces can be viewed[Mini Program login adaptation program explaination](https://dev.weixin.qq.com/docs/framework/dev/auth/loginCompatible .html)