Linting W0223
We were missing a call to return the login page from a BaseAuth abstract function. Once this is in dev (an auth0 environment) I suspect it might fix librespacefoundation/satnogs/satnogs-db#309 Signed-off-by: Corey Shields <cshields@gmail.com>merge-requests/399/head
parent
678de105dd
commit
fca0c1d419
|
@ -18,6 +18,10 @@ class Auth0(BaseOAuth2):
|
|||
"""Return the token endpoint."""
|
||||
return "https://" + self.setting('DOMAIN') + "/oauth/token"
|
||||
|
||||
def auth_html(self):
|
||||
"""Return the login endpoint."""
|
||||
return "https://" + self.setting('DOMAIN') + "/login/auth0"
|
||||
|
||||
def get_user_id(self, details, response):
|
||||
"""Return current user id."""
|
||||
return details['user_id']
|
||||
|
|
Loading…
Reference in New Issue