fix(auth): remove leading dot in auth cookie cleanup

Signed-off-by: Jessica He <jhe@redhat.com>
This commit is contained in:
Jessica He
2025-11-24 10:28:15 -05:00
parent e512dfd1e5
commit 2389358126
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-auth-node': patch
---
remove leading dot in auth cookie cleanup call
@@ -189,7 +189,7 @@ export class OAuthCookieManager {
const { hostname: domain } = new URL(this.options.callbackUrl);
output = output.cookie(name, '', {
...this.getRemoveCookieOptions(),
domain: `.${domain}`,
domain: domain,
});
}