Update main.py
Browse files
main.py
CHANGED
@@ -24,7 +24,7 @@ from authlib.integrations.starlette_client import OAuth
|
|
24 |
|
25 |
app = FastAPI()
|
26 |
app.add_middleware(SessionMiddleware, secret_key=SECRET_KEY1)
|
27 |
-
oauth = OAuth()
|
28 |
|
29 |
# Configure OAuth registry
|
30 |
oauth.register(
|
|
|
24 |
|
25 |
app = FastAPI()
|
26 |
app.add_middleware(SessionMiddleware, secret_key=SECRET_KEY1)
|
27 |
+
oauth = OAuth(app)
|
28 |
|
29 |
# Configure OAuth registry
|
30 |
oauth.register(
|