gloo
gloo copied to clipboard
REST calls with not matching AT/IDT
Gloo Edge Version
1.11.x
Kubernetes Version
1.20.x
Describe the bug
In case of token refresh, the first REST call received on the backend gets both AT and IDT, where AT obviously does not have the proper id_hash resulting in 403. If the REST call is repeated, everything works fine again. We've tested this on Gloo version 1.9.1 and recently on Gloo version 1.11.28.
Steps to reproduce the bug
- Make a gloo session
- Hit the rest endpoint protected with token to make sure it works
- Wait until token expires
- Fire rest call again just after token expires and you'll see 403 Forbidden
Expected Behavior
We shouldn't have any failed request due to refresh token.
Additional Context
No response