Skip to content

Commit 0b74f95

Browse files
committed
OAuth - App INIT, Register GH Blueprint
1 parent 7252db7 commit 0b74f95

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

apps/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,15 @@ def initialize_database():
3434
def shutdown_session(exception=None):
3535
db.session.remove()
3636

37+
from apps.authentication.oauth import github_blueprint
3738

3839
def create_app(config):
3940
app = Flask(__name__)
4041
app.config.from_object(config)
4142
register_extensions(app)
4243
register_blueprints(app)
44+
45+
app.register_blueprint(github_blueprint, url_prefix="/login")
46+
4347
configure_database(app)
4448
return app

0 commit comments

Comments
 (0)