We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea027f7 commit 2e4c8d0Copy full SHA for 2e4c8d0
1 file changed
lib/main.py
@@ -136,6 +136,9 @@ async def proxy_request_to_server(request: Request, path: str):
136
response.status_code = 200
137
elif "oauth/authorize" in url:
138
response.headers["location"] = response.headers["location"]
139
+ elif "apps/oauth2/authorize" in response.headers["location"]:
140
+ response.status_code = 200
141
+ response.headers["location"] = response.headers["location"]
142
else:
143
headers["content-length"] = "0"
144
response = await handle_redirects(
0 commit comments