'/auth/status' error
See original GitHub issueauth_token = auth_header.split(" ")[1]
IndexError: list index out of range
auth_header is one piece so splitting it and taking the second part raises “IndexError: list index out of range” error.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
AuthStatus (Java(TM) EE 7 Specification APIs)
static AuthStatus · FAILURE. Indicates that the message processing by the authentication module was NOT successful, and that the module replaced the application ......
Read more >Troubleshoot hybrid Azure AD-joined devices - Microsoft Learn
This section is displayed only if the device is domain-joined and unable to hybrid Azure AD-join. The "Error Phase" field denotes the phase...
Read more >AuthStatus in gotham_restful - Rust - Docs.rs
The request has been performed with an invalid authentication. This includes expired tokens. Further details can be obtained from the included error.
Read more >Example usage for javax.security.auth.message AuthStatus ...
In this page you can find the example usage for javax.security.auth.message AuthStatus FAILURE. Prototype. AuthStatus FAILURE. To view the source code for javax ......
Read more >Enum AuthStatus
public enum AuthStatus extends Enum<AuthStatus>. Denotes the result of an HTTP authentication attempt. Available statuses: CHALLENGED, SUCCESS, FAILURE ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The token is malformed. In the value you need to put
Bearer
before the token value.Bearer 12345
I updated the code to catch this. I’ll update the blog post later today or tomorrow.
https://github.com/realpython/flask-jwt-auth/pull/10
Merged https://github.com/realpython/flask-jwt-auth/pull/10 and updated the blog post.
https://realpython.com/blog/python/token-based-authentication-with-flask/
Thanks again!