In docs/workshops/beginner/start-applications.md, I have run into some issues with setting OAUTH2_ACTIVE to false. The frontend reports these errors as CORS errors, which leads to some tricky debugging.
I would recommend mentioning in the tutorial that this error is easy to run into if running on a standard localhost setup. It could be mentioned for instance that running with this value set to false can be done with OAUTH2_ACTIVE=false uvicorn --host localhost --port 8080 main:app.
Contact Details
jzwart@uwaterloo.ca
What should we build?
In
docs/workshops/beginner/start-applications.md
, I have run into some issues with settingOAUTH2_ACTIVE
to false. The frontend reports these errors as CORS errors, which leads to some tricky debugging.I would recommend mentioning in the tutorial that this error is easy to run into if running on a standard localhost setup. It could be mentioned for instance that running with this value set to false can be done with
OAUTH2_ACTIVE=false uvicorn --host localhost --port 8080 main:app
.Relevant pseudo code
No response