Skip to content

Commit

Permalink
refactor!:deprecate_refresh_endpoint (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl authored Sep 11, 2024
1 parent 9f3944a commit 770d2ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions ovos_PHAL_plugin_oauth/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
import qrcode
import requests
from flask import Flask, request
from ovos_bus_client.message import Message
from oauthlib.oauth2 import WebApplicationClient
from ovos_backend_client.database import (OAuthApplicationDatabase,
OAuthTokenDatabase)
from ovos_bus_client.message import Message
from ovos_plugin_manager.phal import PHALPlugin
from ovos_utils import classproperty
from ovos_utils.log import LOG
from ovos_utils.network_utils import get_ip
from ovos_utils import classproperty
from ovos_utils.process_utils import RuntimeRequirements

os.environ['OAUTHLIB_INSECURE_TRANSPORT'] = '1'
Expand Down Expand Up @@ -175,7 +175,6 @@ def handle_oauth_register(self, message):
client_secret=client_secret,
auth_endpoint=auth_endpoint,
token_endpoint=token_endpoint,
refresh_endpoint=None,
callback_endpoint=cb_endpoint,
scope=scope,
shell_integration=shell_display)
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ovos-backend-client>=0.1.0,<1.0.0
ovos-backend-client>=0.2.0,<2.0.0
ovos-utils>=0.0.26,<1.0.0
ovos-bus-client>=0.0.3,<1.0.0
Flask>=0.12
Expand Down

0 comments on commit 770d2ee

Please sign in to comment.