fix: Add username to the tokenStoreKey so the saved token is invalidated when the user changes in the environment (#426)

Co-authored-by: Gregory Schier <gschier1990@gmail.com>
This commit is contained in:
Michaël Arnauts
2026-08-14 13:50:48 -07:00
committed by GitHub
co-authored by Gregory Schier
parent 4f03c5c390
commit be004425fa
4 changed files with 68 additions and 0 deletions
@@ -32,6 +32,7 @@ export async function getPassword(
clientId,
accessTokenUrl,
authorizationUrl: null,
username,
};
const token = await getOrRefreshAccessToken(ctx, tokenArgs, {
accessTokenUrl,