oauth - Creating an OAuth2.0 provider in python 3 for an existing WSGI server -



oauth - Creating an OAuth2.0 provider in python 3 for an existing WSGI server -

i cannot figure out how create oauth v. 2.0 provider existing wsgi server. want deploy custom oauth 2.0 provider on existing wsgi-server (using apache's mod_wsgi) on https. wsgi basis , https implemented , working fine. unfortunately find this tutorial oauthlib on how implement oauth 2.0 providers in python 3. modules' documentation refers frameworks drango , flask, don't need , don't want utilize project. additionally, oauthlib seems forcefulness me using own webserver described in

# previous section on validators my_validator import myrequestvalidator oauthlib.oauth2 import webapplicationserver validator = myrequestvalidator() server = webapplicationserver(validator)

my problem here is, want create oauth 2.0 provider without mentioned frameworks on existing wsgi server, cannot figure out need alter what.

python oauth

Comments

Popular posts from this blog

c - Compilation of a code: unkown type name string -

java - Bypassing "final local variable defined in an enclosing type" -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -