From ef60b19dcb338ad80707ecffc5a959f3c6f66209 Mon Sep 17 00:00:00 2001 From: John Nduli Date: Wed, 25 Sep 2024 18:35:48 +0300 Subject: feat: add base implementation for hooks system --- gn_auth/__init__.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gn_auth/__init__.py') diff --git a/gn_auth/__init__.py b/gn_auth/__init__.py index 973110a..6e2a884 100644 --- a/gn_auth/__init__.py +++ b/gn_auth/__init__.py @@ -8,6 +8,7 @@ from flask import Flask from flask_cors import CORS from authlib.jose import JsonWebKey +from gn_auth import hooks from gn_auth.misc_views import misc from gn_auth.auth.views import oauth2 @@ -87,5 +88,6 @@ def create_app( app.register_blueprint(oauth2, url_prefix="/auth") register_error_handlers(app) + hooks.register_hooks(app) return app -- cgit v1.2.3