hasura / hasura/graphql-engine
Should treat JWTExpired as unauthoried
- Dominant language
- TypeScript
- Stars
- 32.1k
- Forks
- 3k
- PR merge metrics
- PR metrics pending
Description
### Version Information
Server Version: 2.25
CLI Version (for CLI related issue):
### Environment
OSS
### What is the current behaviour?
Allowed anonymous for remote schema auth mutation, but Expired token cause the JWTExpired, the auth request not reach the remote schema, can not auth to get the new token.
### What is the expected behaviour?
Consider the Expired token as no token
### How to reproduce the issue?
Pass Expired token
### Screenshots or Screencast
With Expired
With nothing
### Please provide any traces or logs that could help here.
### Any possible solutions/workarounds you're aware of?
Client check the expire, do not pass the expired token.
### Keywords
Contributor guide
Assessment
This issue has not been assessed yet.