Fix needed import
Build, push image, and notify Watchtower / build-image (push) Successful in 44s
Build, push image, and notify Watchtower / notify (push) Successful in 16s

This commit is contained in:
2026-08-17 14:22:27 +02:00
parent b442d39c18
commit 0149c1e5b2
2 changed files with 4 additions and 13 deletions
-13
View File
@@ -68,19 +68,6 @@ webex_manager = WebexManager(
# OAuth Routes
# ---------------------------------------------------------
@app.route("/oauth/login")
def oauth_login():
"""Redirects developer/admin to Webex for initial OAuth authorization."""
scopes = "spark:rooms_write spark:rooms_read spark:memberships_write spark:memberships_read spark:messages_write"
params = {
"client_id": WEBEX_CLIENT_ID,
"response_type": "code",
"redirect_uri": WEBEX_REDIRECT_URI,
"scope": scopes
}
url = f"https://webexapis.com/v1/authorize?{urllib.parse.urlencode(params)}"
return redirect(url)
@app.route("/oauth/callback")
def oauth_callback():
"""OAuth redirect endpoint that receives the authorization code."""