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

add sso hooks #1854

Merged
merged 10 commits into from
Oct 1, 2024
2 changes: 1 addition & 1 deletion taipy/gui/_default_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"change_delay": None,
"chart_dark_template": None,
"base_url": "/",
"client_url": "http://localhost:5000",
"client_url": "http://127.0.0.1:5000",
dinhlongviolin1 marked this conversation as resolved.
Show resolved Hide resolved
"dark_mode": True,
"dark_theme": None,
"debug": False,
Expand Down
2 changes: 2 additions & 0 deletions taipy/gui/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -2609,6 +2609,8 @@ def __register_blueprint(self):
# server URL Rule for flask rendered react-router
pages_bp.add_url_rule(f"/{Gui.__INIT_URL}", view_func=self.__init_route)

_Hooks()._add_external_blueprint(self, __name__)
dinhlongviolin1 marked this conversation as resolved.
Show resolved Hide resolved

# Register Flask Blueprint if available
for bp in self._flask_blueprint:
t.cast(Flask, self._server.get_flask()).register_blueprint(bp)
Expand Down
Loading