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 urls.py like this::

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

  4. Run python manage.py 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.

Source Distribution

django-weapp-auth-1.0.7.tar.gz (6.1 kB view details)

Uploaded Source

File details

Details for the file django-weapp-auth-1.0.7.tar.gz.

File metadata

  • Download URL: django-weapp-auth-1.0.7.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for django-weapp-auth-1.0.7.tar.gz
Algorithm Hash digest
SHA256 2eeb86c48e7c639f4de77176564412bd9a36a84eac23e092a699e68c675ce2e1
MD5 3c437c06bc75d285c52ddd94a08d250d
BLAKE2b-256 d6e4c45dee389a3ce83a4378c8eb7c489043083c50361b3e6b98781275bda5b8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page