feat(fetcher): use client_credentials grant type to avoid missing refresh token (#62)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -7,5 +7,5 @@ fetcher_router = APIRouter(prefix="/fetcher", include_in_schema=False)
|
||||
|
||||
@fetcher_router.get("/callback")
|
||||
async def callback(code: str, fetcher: Fetcher):
|
||||
await fetcher.grant_access_token(code)
|
||||
# await fetcher.grant_access_token(code)
|
||||
return {"message": "Login successful"}
|
||||
|
||||
Reference in New Issue
Block a user