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
I have a local Flask server that I'd like to use in development. The problem with using given proxy is that the server uses classic cookie session based authentication. What are the potential solutions for this?
Set cookie in public/index.html - That would require setting cookies in every dev machine and they expire. I could add a script that would inject it.
Add authentication endpoint - it would need to run first before every request is made.
I was thinking if I could hijack localhost+port somehow but that sounds like a bad idea.
The text was updated successfully, but these errors were encountered:
Adding an authentication endpoint seems like the most sensible solution imo. Simply make it accept bogus credentials during development and have your first mounting component hit it with a did mount hook.
I have a local Flask server that I'd like to use in development. The problem with using given proxy is that the server uses classic cookie session based authentication. What are the potential solutions for this?
The text was updated successfully, but these errors were encountered: