aws / aws/graph-explorer

Refresh AWS credentials when receiving 401 or 403 responses

Open
#1,504 0 comments 1 reaction 0 assignees View on GitHub
connection fundamental infrastructure reliability
Dominant language
TypeScript
Stars
481
Forks
108
Avg merge
6d 8h
Merged PRs (30d)
5

Description

The proxy server caches the AWS credentials so it is not requesting them for every request. But if the credentials expire, the proxy server must be restarted.

Instead, we should watch for 401 or 403 responses. If encountered, we should ignore the cached credentials and retry. If we continue to get errors, then bubble those up.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.