Skip to content

starnavi-team/oauth2-client-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django OAuth2 client

Quick start

Include oauth2_client.urls in your project urls.py:

path('oauth2/', include('oauth2_client.urls')),

Add variables to settings:

OAUTH2_SERVER = ''        # server address
OAUTH2_CLIENT_ID = ''     # application's id
OAUTH2_CLIENT_SECRET = '' # application's secret

New endpoints:

/oauth2/login/
/oauth2/logout/?token=<token>
/oauth2/refresh/?refresh_token=<token>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages