Changing back base class of the Oauth callback endpoint

pull/143/head
Matheus Lima 2019-05-17 18:32:04 -03:00
parent 5ae440373c
commit ccb104a11f
1 changed files with 4 additions and 2 deletions

View File

@ -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):