-
-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flask_jwt_extended.exceptions.NoAuthorizationError: Missing Authorization Header #251
Comments
Flask-Restplus has a bug where native flask error handlers don’t work. Hopefully they will fix that eventually, but you should be able to use this as a work around in the mean time: #86 (comment) |
thanks,it work! |
Glad to hear it 👍 |
`from flask import Flask app = Flask(name) app.secret_key = "aniket" db = SQLAlchemy(app) jwt._set_error_handler_callbacks(api)` @vimalloc @wisp888 I tried using the turnaround hack mentioned above. But I keep getting the |
@aniketsnv-1997 |
@vimalloc I did try to use Whereas, when I use |
Also, when I visit the api The resource code is
` As a result, I am deadlocked between flask_restful and flask_restplus. ANy help upon this will be much appreciated! ` |
post the url without token or token expired
use flask_restful no problem!
but use flask_restplus it will raise exception
it will return
The text was updated successfully, but these errors were encountered: