From 0da352ae844f4a273bbb58d193a5dc828dcdfc8f Mon Sep 17 00:00:00 2001 From: Joe <1264204425@qq.com> Date: Mon, 2 Sep 2024 15:40:47 +0800 Subject: [PATCH] fix: get_authorization_url invite token --- api/controllers/console/auth/oauth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/controllers/console/auth/oauth.py b/api/controllers/console/auth/oauth.py index dc89fa2f9e5ed8..fe64b322d0de17 100644 --- a/api/controllers/console/auth/oauth.py +++ b/api/controllers/console/auth/oauth.py @@ -51,7 +51,7 @@ def get(self, provider: str): if not oauth_provider: return {"error": "Invalid provider"}, 400 - auth_url = oauth_provider.get_authorization_url(invite_token) + auth_url = oauth_provider.get_authorization_url(invite_token=invite_token) return redirect(auth_url)