@default-js/defaultjs-httpinterceptor (npm): this helps you to intercept request at websites for oauth2 or token autentications or even what you need
Keywords: request|intercept|sso|jwt|oauth|json web token|xhr|XMLHttpRequest|fetch