Skip to content

Commit

Permalink
cors seems to be configured against a non-existent path
Browse files Browse the repository at this point in the history
  • Loading branch information
JorisHeadease committed Nov 20, 2023
1 parent 28ea2fd commit 0c88043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def create_app(config=None) -> Flask:
register_error_handlers(app)
setup_database(app)
ensure_oidc_keys(app)
cors = CORS(app, resources={r"/auth/*": {"origins": "*"}}, supports_credentials=True)
cors = CORS(app, resources={r"/oauth2/*": {"origins": "*"}}, supports_credentials=True)
db = SQLAlchemy(app)
return app

Expand Down

0 comments on commit 0c88043

Please sign in to comment.