UPdating oauth callbacks

This commit is contained in:
ewandor committed 2025-04-11 22:15:56 +02:00
1 parent 4e613554e6
commit b04ee4cb92
2 files changed
+5 -2

No files matched your search

+1 -1
View File
@@ -67,7 +67,7 @@ class AuthenticationBackendMe(AuthenticationBackend):
class CookieTransportOauth(CookieTransport):
async def get_login_response(self, token: str) -> Response:
response = RedirectResponse("/login?oauth=success", status_code=status.HTTP_301_MOVED_PERMANENTLY)
response = RedirectResponse("/auth/login?oauth=success", status_code=status.HTTP_301_MOVED_PERMANENTLY)
return self._set_login_cookie(response, token)
@staticmethod