Upgrade to oauth2-pkce 3
Bump oauth2-pkce from ^2.1.3 to ^3.0.0. In v3, getTokens() throws ErrorAccessTokenExpired when the token has expired and no onAccessTokenExpiry handler is configured. Add the handler to the OSM auth client config so it automatically refreshes via the refresh token instead of throwing
This commit is contained in:
+1
-1
@@ -111,7 +111,7 @@
|
||||
"ember-concurrency": "^5.2.0",
|
||||
"ember-lifeline": "^7.1.0",
|
||||
"nostr-idb": "^5.1.0",
|
||||
"oauth2-pkce": "^2.1.3",
|
||||
"oauth2-pkce": "^3.0.0",
|
||||
"qrcode": "^1.5.4",
|
||||
"rxjs": "^7.8.2"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user