Changing back base class of the Oauth callback endpoint
parent
5ae440373c
commit
ccb104a11f
|
@ -1,12 +1,14 @@
|
|||
import os
|
||||
|
||||
import requests
|
||||
from flask.views import MethodView
|
||||
|
||||
from selene.api import PublicEndpoint
|
||||
|
||||
|
||||
class OauthCallbackEndpoint(MethodView):
|
||||
class OauthCallbackEndpoint(PublicEndpoint):
|
||||
|
||||
def __init__(self):
|
||||
super(OauthCallbackEndpoint, self).__init__()
|
||||
self.oauth_service_host = os.environ['OAUTH_BASE_URL']
|
||||
|
||||
def get(self):
|
||||
|
|
Loading…
Reference in New Issue