You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At this time, the extension will create a new access token every request using the client's id and secret generated from their login credentials.
Also at this time, the extension will catch any request made by the browser and try and alter it's headers.
To prevent catching it's own access token request and therefore creating an infinite loop, I added the following to the listener:
// TODO: find a more elegant way to catch the access token creation request called from getAccessToken()
if(details.method==="POST"){
return
}
The extension should instead wear out these temporary access tokens by storing them, checking their validity on requests and creating a new one when necessary.
The text was updated successfully, but these errors were encountered:
At this time, the extension will create a new access token every request using the client's id and secret generated from their login credentials.
Also at this time, the extension will catch any request made by the browser and try and alter it's headers.
To prevent catching it's own access token request and therefore creating an infinite loop, I added the following to the listener:
solid-authentication-browser-extension/src/js/background.js
Lines 22 to 25 in f0f2c83
The extension should instead wear out these temporary access tokens by storing them, checking their validity on requests and creating a new one when necessary.
The text was updated successfully, but these errors were encountered: