Commented out keycloak

This commit is contained in:
2025-05-31 10:14:42 +02:00
parent 90d21f8847
commit b3c931b649
2 changed files with 11 additions and 3 deletions

View File

@@ -1,7 +1,8 @@
from flask import Flask
from flask_migrate import Migrate
from flask_sqlalchemy import SQLAlchemy
from authlib.integrations.flask_client import OAuth
# from authlib.integrations.flask_client import OAuth
# Web Server
app = Flask(__name__)
@@ -16,8 +17,10 @@ db = SQLAlchemy(app)
migrate = Migrate(app, db)
# Keycloak
"""
oauth = OAuth(app=app)
url = "http://192.168.69.1:8180"
keycloak: ... = oauth.register(
name="keycloak",
client_id="ProjectIOT",
@@ -36,3 +39,4 @@ keycloak: ... = oauth.register(
"{url}/realms/ProjectIOT/.well-known/openid-configuration"
),
)
"""