fix(oauth): fix private key error for OAuth tokens

This commit is contained in:
2025-07-22 21:18:41 +00:00
parent cffba39844
commit 739e781cfb
5 changed files with 62 additions and 9 deletions

View File

@@ -149,6 +149,8 @@ export class BunqSession {
// OAuth tokens don't expire in the same way as regular sessions
// Set a far future expiry time
this.sessionExpiryTime = plugins.smarttime.TimeStamp.fromMilliSeconds(Date.now() + 365 * 24 * 60 * 60 * 1000);
// Also set OAuth mode on HTTP client
this.httpClient.setOAuthMode(true);
}
}