You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while accessing the Swagger UI docs, I realized that the endpoint that's being used for user/password authentication is called /oauth, however in the code this can be found: reusable_oauth2 = OAuth2PasswordBearer(tokenUrl=f"{settings.API_V1_STR}/#/access-token")
When trying to login via the "Login" button in Swagger UI, a 404 Not Found is being returned - after changing the access-token occurrences in the code to oauth e.g. reusable_oauth2 = OAuth2PasswordBearer(tokenUrl=f"{settings.API_V1_STR}/#/oauth") the login in the Swagger UI works.
Thanks for reading and maintaining,
Cheers!
The text was updated successfully, but these errors were encountered:
Greetings,
while accessing the Swagger UI docs, I realized that the endpoint that's being used for user/password authentication is called
/oauth
, however in the code this can be found:reusable_oauth2 = OAuth2PasswordBearer(tokenUrl=f"{settings.API_V1_STR}/#/access-token")
When trying to login via the "Login" button in Swagger UI, a
404 Not Found
is being returned - after changing theaccess-token
occurrences in the code tooauth
e.g.reusable_oauth2 = OAuth2PasswordBearer(tokenUrl=f"{settings.API_V1_STR}/#/oauth")
the login in the Swagger UI works.Thanks for reading and maintaining,
Cheers!
The text was updated successfully, but these errors were encountered: