Skip to content
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

TokenToContext should not return error when the token is either non-existent or validated #329

Open
satoufuyuki opened this issue Jan 2, 2025 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@satoufuyuki
Copy link

To Reproduce
Steps to reproduce the behavior:

  1. Use auto auth
  2. Get token

Expected behavior
TokenToContext should not return error when the token is either non-existent or validated

Screenshots
If applicable, add screenshots to help explain your problem.

Framework version (please check if it happens with the last
Fuego version before posting):
v0.17.0

Go version (please check if it happens with the last Go version before posting): 1.23.4

Additional context

SendJSONError(w, nil, err)
this shouldn't return the error, because expired key also throws an error.

@satoufuyuki satoufuyuki added the bug Something isn't working label Jan 2, 2025
@EwenQuim
Copy link
Member

EwenQuim commented Jan 3, 2025

I'll fix it this week

@EwenQuim EwenQuim self-assigned this Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants