Skip to content

Commit 9819aa4

Browse files
committed
add dpop validation
1 parent 981a697 commit 9819aa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

microservices/gatewayApi/patterns/sdx/service_r1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@
304304
if not auth_header then
305305
return nil, "Authorization header missing"
306306
end
307-
local token = auth_header:match("^DPoP%s+(.+)$") or auth_header:match("^Bearer%s+(.+)$")
307+
local token = auth_header:match("^DPoP%s+(.+)$$") or auth_header:match("^Bearer%s+(.+)$$")
308308
if not token then
309309
return nil, "Invalid Authorization header format"
310310
end

0 commit comments

Comments
 (0)