You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
when App is accessed with /oauth2callback for the FIRST TIME, the on_request responds with 404:
./server.py 5000
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:5000
* Running on http://172.20.10.5:5000
Press CTRL+C to quit
127.0.0.1 - - [12/Mar/2024 11:16:21] "POST /api HTTP/1.1" 200 -
/oauth2callback
ERROR - 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
Traceback (most recent call last):
...
11111111 /oauth2callback GET
22222222 ['oauth2callback']
...
The fix is to access first with login.html, and then with oauth2callback. It does not throw 404 after that.
Hi,
when App is accessed with /oauth2callback for the FIRST TIME, the on_request responds with 404:
The fix is to access first with login.html, and then with oauth2callback. It does not throw 404 after that.
on_request:
def on_request(task, request):
print(11111111, request.path, request.method)
parts = request.path.strip('/').split('/')
print(22222222, parts)
D.
The text was updated successfully, but these errors were encountered: