Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
test_oauth2_django
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
test-it
test_oauth2_django
Commits
af29db97
Commit
af29db97
authored
Nov 05, 2017
by
Sharad Heft
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a fancy README.
parent
bb31dc60
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
README.md
README.md
+24
-0
No files found.
README.md
0 → 100644
View file @
af29db97
# TEST OAuth2 for Django
This project aims to provide a simple, plug-and-play method of adding _TEST
Alliance Please Ignore_ OAuth2 authentication to your Django app.
## Installation
You _should_ be able to install the library as follows:
pip install git+ssh://gogs@git.pleaseignore.com:206/sharad/test_oauth2_django.git
Then, add
`test_oauth`
to the list of installed apps in your Django app. Also
add a URL entry for the authentication application:
url(r'^auth/', include('test_oauth.urls', namespace='test_oauth')),
## Settings
There are some additional settings you should add to your Django settings file
but they're pretty self-explanatory:
*
`TEST_OAUTH_CLIENT_ID`
: The client ID of your TEST OAuth2 app.
*
`TEST_OAUTH_CLIENT_SECRET`
: The client secret of your app.
*
`TEST_OAUTH_CLIENT_CALLBACK`
: The _exact_ callback URI of your app.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment