Comments (2)
At the moment we do not provide access to Flask, because in the future we may move away from Flask. So adding Flask access could make it more difficult to migrate away from Flask.
One option that I think could work in your SSO case is if you ran the Flask App separately from the Mesop App. This means that you could need a reverse proxy, such as Nginx in front though. The reverse proxy would then route to the Flask app for login and the Mesop app based on the URLs.
The SSO login flow would go through the Flask app.
Then you'd need to add some kind of custom decorator or function to check auth in Mesop.
This adds a bit more extra work, so it's definitely not that convenient. But it would allow you to use any framework you wanted, Flask, FastAPI, Django.
The drawback is that this should work for the SSO case, but wouldn't work for most other extensions.
from mesop.
Ok, thanks for letting me know.
Yeah in this case I'll go the GCP way. (Using AD as Identity Provider in Identity Platform and LB + IAP in front of Cloud Run)
from mesop.
Related Issues (20)
- Mesop doesn't support async HOT 2
- Provide a better error message for unhandled state serialization
- Add Autocomplete Component from Angular Components
- Not able to iframe a localhost site from a localhost site (or http site)
- Add the CSS `place-items` property in the `me.Style` object
- FileNotFoundError gpc.json HOT 7
- Weird error message when trying to create webcomponent for Mesop HOT 1
- Create a comparison guide with Streamlit / Gradio / Reflex
- How to pronounce "Mesop"? HOT 1
- Prevent accidental usage of mutable classes in @me.stateclass
- Add Tab Component HOT 1
- Create a concurrency test to ensure session isolation
- Style.__init__() got an unexpected keyword argument min_height HOT 4
- Nested lists of lists of Dataclasses does not de-serializing correctly in state
- Better default markdown support HOT 4
- Support theming to different colors
- Make UploadedFile json serializable HOT 1
- :bar_chart: Preview `mermaid` charts :mermaid: HOT 4
- Using web components in a Mesop app requires a lot of repeated configuration
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mesop.