Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor!:deprecate_refresh_endpoint #21

Merged
merged 1 commit into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading