The response model is currently undefined for "/api/core/auth/token". This should be resolved by introducing such a response model (should be defined in apps.core.authentication.models) such that it is properly documented in the automated API docs. This will make it slightly easier to implement authentication on the client side.
# apps.core.authentication.router
@router.post("/token",
summary="Login using token",
description="Login using Token")
async def login_with_token(form_data: OAuth2PasswordRequestForm = Depends()):
"""
Authenticates the user when logging in by comparing hashed password values
"""
return impl_login_with_token(form_data)
The response model is currently undefined for "/api/core/auth/token". This should be resolved by introducing such a response model (should be defined in apps.core.authentication.models) such that it is properly documented in the automated API docs. This will make it slightly easier to implement authentication on the client side.