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.

Filename, size & hash SHA256 hash help File type Python version Upload date
paytm-oauth-0.2.tar.gz (3.7 kB) Copy SHA256 hash SHA256 Source None Jan 6, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page