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 Python 2 Python 3

Supported by

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