Git Product home page Git Product logo

Comments (2)

richard-to avatar richard-to commented on July 28, 2024

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.

tpcgold avatar tpcgold commented on July 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.