Le endpoint generer est un POST

This commit is contained in:
François Pelletier 2024-08-24 11:41:44 -04:00
parent 6ccbe23169
commit f86421d9b1

View file

@ -126,7 +126,7 @@ async def get_current_active_user(
return current_user
@app.post("/token")
@app.post("/token/")
async def login_for_access_token(
form_data: Annotated[OAuth2PasswordRequestForm, Depends()],
) -> Token: