Skip to content

HTTP error 404 while being unauthorized #72

@radiophysicist

Description

@radiophysicist

Hello,

It is a bit confusing in example app to obtain 404 instead of 401 while not being authorized.
Wouldn't it be more correct to return 401 error here:
https://github.com/fastapi-admin/fastapi-admin/blob/master/fastapi_admin/depends.py#L73-L73
?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions