Skip to main content

NCTU OAuth package for django

Project description

# django-nctu-oauth

This package currently still in testing stage
## Setup
1. Register your app at [nctu oauth website](https://id.nctu.edu.tw/)

2. Install package from pip
```
pip install django-nctu-oauth
```

3. Add package to django project
```
NCTU_APP_REDIRECT_URI = 'your-redirect-url'
NCTU_APP_CLIENT_ID = 'your-client-id'
NCTU_APP_CLIENT_SECRET = 'your-secret-key'

INSTALLED_APPS = [
'django-nctu-oauth',
]
```
## Testing
```
python -m test.test
```

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-nctu-oauth-0.1.0.tar.gz (5.3 kB view hashes)

Uploaded source

Built Distribution

django_nctu_oauth-0.1.0-py2.py3-none-any.whl (7.1 kB view hashes)

Uploaded py2 py3

Supported by

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