We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d1143c commit 71354c2Copy full SHA for 71354c2
src/lambda-edge/refresh-auth/index.ts
@@ -36,8 +36,9 @@ export const handler: CloudFrontRequestHandler = async (event) => {
36
cookies.refreshToken
37
);
38
39
- const headers: { "Content-Type": string; Authorization?: string } = {
+ const headers: { "Content-Type": string; Authorization?: string; "User-Agent":string } = {
40
"Content-Type": "application/x-www-form-urlencoded",
41
+ "User-Agent": "authorization-at-edge"
42
};
43
44
if (CONFIG.clientSecret) {
src/lambda-edge/shared/shared.ts
@@ -16,6 +16,7 @@ export {
16
JwtExpiredError,
17
} from "aws-jwt-verify/error";
18
19
+
20
export interface CookieSettings {
21
idToken: string;
22
accessToken: string;
0 commit comments