Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Laban254 committed Oct 2, 2024
1 parent 4ca7dbd commit 8572326
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _posts/2024-10-02-securing-apis-fastapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ from fastapi import FastAPI, Depends, HTTPException
from fastapi.security import OAuth2PasswordBearer, OAuth2PasswordRequestForm

app = FastAPI()
```

#### Define the OAuth2 password bearer scheme
```python
oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
Expand Down

0 comments on commit 8572326

Please sign in to comment.