oauth2 #7
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue