Skip to main content

A helper Django app that handles wechat mini program login and user info updating logic

Project description

Weapp Auth

Weapp auth is a Django app that helps to handle wechat mini program login and user info updating logic.

Quick start

  1. Install using pip pip install --upgrade django-weapp-auth

  2. Add "weapp_auth" to your INSTALLED_APPS setting like this::

    INSTALLED_APPS = [ ... 'weapp_auth', ]

  3. Include the weapp_auth URLconf in your project like this::

    path('weapp_auth/', include('weapp_auth.urls')),

  4. Run python migrate to create the models.

  5. These two APIs are avaliable! weapp_auth/wechatLogin/ and weapp_auth/wechatUpdateUserInfo/

  6. Call these two APIs in your wechat mini app!

  7. Authenticate your request with from weapp_auth.authenticator.OpenIdAuthenticator import OpenIdAuthenticator

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-weapp-auth, version 1.0.7
Filename, size File type Python version Upload date Hashes
Filename, size django-weapp-auth-1.0.7.tar.gz (6.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page