From f6a1a8c333d5b044964be943998953d3e62684d3 Mon Sep 17 00:00:00 2001 From: Wille Marcel Date: Tue, 14 May 2024 21:25:05 -0300 Subject: [PATCH] Add missing imports to documentation --- docs/fastapi.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/fastapi.md b/docs/fastapi.md index 0866f21..e04abf3 100644 --- a/docs/fastapi.md +++ b/docs/fastapi.md @@ -15,6 +15,7 @@ Dependency callable to handle the authorization callback. It reads the query par You should either set `route_name`, which will automatically reverse the URL, or `redirect_url`, which is an arbitrary URL you set. ```py +from fastapi import FastAPI, Depends from httpx_oauth.integrations.fastapi import OAuth2AuthorizeCallback from httpx_oauth.oauth2 import OAuth2