oauth - Add OAuth2 to Existing Django App -


i have django app running on app engine, current user authentication provided djoser, uses simple token authentication.

now want write new apis third party applications allow them access user data. need implement oauth2.0 authentication.

i found libraries such django-oauth-toolkit. tutorial assumes build app , database scratch. wonder if there's way use current user database oauth2.0 authentication, instead of asking user signup again same username. thanks.

so there's no need start on again new user database. 1 can continue using whatever authentication methods being used register users. write new app (for new apis) , add oauth2 , run database migration, build several tables needed oauth2.

when oauth2 authentication process starts, these tables filled grants , access tokens , client application related info.


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -