Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
bla
/
tranny
like
1
Runtime error
App
Files
Files
Community
ab4b8a4
tranny
/
App
/
Authentication.py
Mbonea
hello
252d749
over 1 year ago
raw
Copy download link
history
blame
Safe
176 Bytes
from
fastapi
import
APIRouter, status
from
fastapi.security
import
OAuth2PasswordBearer, OAuth2PasswordRequestForm
oauth_scheme = OAuth2PasswordBearer(tokenUrl=
"/user/login"
)