fix(auth): remove leading dot in auth cookie cleanup
Signed-off-by: Jessica He <jhe@redhat.com>
This commit is contained in:
@@ -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,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user