Skip to content

Commit 8e23969

Browse files
committed
switched to x-amzn-oidc-data
1 parent 67389b8 commit 8e23969

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/middleware.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export async function onRequest(context, next) {
2525
if (process.env.ENVIRONMENT == 'local') {
2626
token = TEST_AUTHORISATION_JWT;
2727
} else {
28-
token = context.request.headers.get('x-amzn-oidc-accesstoken');
28+
token = context.request.headers.get('x-amzn-oidc-data');
2929
}
3030

3131
if (!token) {

0 commit comments

Comments
 (0)