Skip to content

Commit ff8ab4a

Browse files
authored
doc: extract correct header from csrf-response (#1021)
1 parent 932f330 commit ff8ab4a

File tree

1 file changed

+1
-1
lines changed
  • examples/authentication/sense-using-jwt

1 file changed

+1
-1
lines changed

examples/authentication/sense-using-jwt/jwt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const getCsrfToken = async (host, auth) => {
1313
Authorization: `Bearer ${auth}`,
1414
},
1515
});
16-
return res.headers.get('QLIK_CSRF_TOKEN');
16+
return res.headers.get('qlik-csrf-token');
1717
} catch (err) {
1818
console.log('Failed to fetch csrf-token', err);
1919
}

0 commit comments

Comments
 (0)