A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/whythawk/full-stack-fastapi-postgresql/issues/11 below:

Change tokenUrl · Issue #11 · whythawk/full-stack-fastapi-postgresql · GitHub

Hi !

Thanks you for amazing contribution :)

I just found that we need to change app/api/deps/

reusable_oauth2 = OAuth2PasswordBearer(tokenUrl=f"(tokenUrl=f"{settings.API_V1_STR}/login/access-token")
->
reusable_oauth2 = OAuth2PasswordBearer(tokenUrl=f"{settings.API_V1_STR}/login/oauth")

Whatelse it will throw error in swagger authentication


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4