Skip to main content

Consumer for paytm oauth

Project description

===========
Paytm Oauth
===========

Paytm Oauth is a django based consumer for paytm oauth.

Quick start
-----------

1. Add "paytmoauth" to your INSTALLED_APPS in settings like this::

```
INSTALLED_APPS = (
...
'paytmoauth',
)
```

2. Update your context_processors to include one provided by `paytmoauth` like

```
TEMPLATES = [
...
'OPTIONS': {
'context_processors': [
...
'paytmoauth.context_processors.login_url',
]
}
]
```

3. Define the following variables in your settings

```
PAYTMOAUTH_PROVIDER_URL
PAYTMOAUTH_AUTHORIZATION_ENDPOINT
PAYTMOAUTH_AUTHENTICATION_ENDPOINT
PAYTMOUATH_RESOURCE_ACCESS_ENDPOINT
PAYTMOAUTH_CLIENT_ID
PAYTMOAUTH_CLIENT_SECRET
PAYTMOAUTH_SCOPE
PAYTMOAUTH_REDIRECT_URL
```

4. Include urls in root urls like this::

```
url(r'^oauth/', include('paytmoauth.urls')),
```

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

paytm-oauth-0.2.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file paytm-oauth-0.2.tar.gz.

File metadata

  • Download URL: paytm-oauth-0.2.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for paytm-oauth-0.2.tar.gz
Algorithm Hash digest
SHA256 e318d68ba341fcb9858232fb7914827359cecc7bf614ae431a13b0be78805d13
MD5 ae58a2ef589e220809476679bf651f8d
BLAKE2b-256 6a65d08594ce6fe4bd0d10eccbe013d6d929a96250527d70f9262ecd1549bf38

See more details on using hashes here.

Supported by

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