Merge pull request #31862 from JessicaJHee/remove-leading-dot

fix(auth): remove leading dot in auth cookie cleanup
This commit is contained in:
Patrik Oldsberg
2025-11-25 17:09:19 +01:00
committed by GitHub
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,
});
}