Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have a WSGI integration example #623

Open
zogzog opened this issue Jan 23, 2024 · 0 comments
Open

Have a WSGI integration example #623

zogzog opened this issue Jan 23, 2024 · 0 comments

Comments

@zogzog
Copy link

zogzog commented Jan 23, 2024

Problem

There are very nice integration examples but none does seem to address the construction of a WSGI based OAuth2 management suite.

We have to equip a quite complex Flask App with OAuth2 + OIDC and we did it through a significant amount of reverse engineering, following the architecture found in the flask integration folder.

The current integration has some apparent shortcomings:

  • auth seems to be an opt-in feature
  • it is not clear how that would work over a complex Flask app made of numerous blueprints
  • we need auth to be systematic, by default and for all routes
  • we want it to work with other third-party blueprints or even when doing component integration at the WSGI level

Hence we believe the lack of a nice WSGI integration example is a situation that might be fixed.

We might provide an overview of what we did to achieve that, though that might not be good enough for a good integration (what needs to be done is still unclear).

@zogzog zogzog changed the title Problem Have a WSGI integration example Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant