We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc0b74c commit 0bc1d95Copy full SHA for 0bc1d95
{{cookiecutter.project_slug}}/backend/app/app/api/deps.py
@@ -10,7 +10,7 @@
10
from app.core.config import settings
11
from app.db.session import SessionLocal
12
13
-reusable_oauth2 = OAuth2PasswordBearer(tokenUrl=f"{settings.API_V1_STR}/login/access-token")
+reusable_oauth2 = OAuth2PasswordBearer(tokenUrl=f"{settings.API_V1_STR}/login/oauth")
14
15
16
def get_db() -> Generator:
0 commit comments