Gregniuki commited on
Commit
4f79a5b
·
1 Parent(s): 0052143

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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(