Closed ak4zh closed 2 years ago
Describe the bug OAuth2PasswordBearer requires a tokenUrl this does not get api versioned automatically. How should that be handled?
from fastapi.security import OAuth2PasswordBearer oauth2_scheme = OAuth2PasswordBearer(tokenUrl=f"/auth/login")
Same question. @Ak4zh did you figure out a solution for this?
@DeanWay any input?
Describe the bug OAuth2PasswordBearer requires a tokenUrl this does not get api versioned automatically. How should that be handled?