Miguel Grinberg

Results 482 comments of Miguel Grinberg

@Muhammad-Nasr What issue do you have with the error response? Looks okay to me.

@Muhammad-Nasr the `other_responses` decorator is only used for the OpenAPI docs. From the [documentation](https://apifairy.readthedocs.io/en/latest/decorators.html#other-responses): > This decorator does not perform any validation or formatting of error responses, it just adds...

I'm not sure there is anything that can be done from the server side. It is up to your browser to remember credentials, so this must be a problem with...

I'm not sure what the rules are regarding remembering credentials, but as I said, this is entirely under the control of the browser, the server cannot change those rules. What...

This extension does not provide any authentication logic, it just facilitates the use of an authentication method such as Basic Auth. What you can do is start from the [basic...

The `g.flask_httpauth_user` attribute is not public, you are not supposed to use it directly. The `basic_auth.current_user()` method returns the user object that you returned in the verify_password callback.

@tabebqena You can access a lot of things that you are not supposed to use directly. `g.flask_httpauth_user` is not documented, so when something is not in the documentation it means...

This library facilitates the authentication portion, it does not know nor care what kind of tokens you work with. When you token expires, your client application needs to request a...

This extension is for Flask routes. You can't use the `auth.login_required` decorator on any other type of functions. A Socket.IO connection is permanent, you only need to authenticate the user...

@aisotton I'm not sure how to detect this. You are just applying a decorator to a function. The decorator has no way to know if the function is a Flask...