Skip to content

Commit 78b68ac

Browse files
committed
Added credentials option on logout fetch
1 parent a2a92e2 commit 78b68ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/authn/authn.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1254,7 +1254,7 @@ authSession.onLogout(async () => {
12541254
if (wellKnownResult.status === 200) {
12551255
const openidConfiguration = await wellKnownResult.json()
12561256
if (openidConfiguration && openidConfiguration.end_session_endpoint) {
1257-
await fetch(openidConfiguration.end_session_endpoint)
1257+
await fetch(openidConfiguration.end_session_endpoint, { credentials: 'include' })
12581258
}
12591259
}
12601260
} catch (err) {

0 commit comments

Comments
 (0)