Skip to content

Commit fa1a138

Browse files
authored
No need to be base64 decoded
1 parent 9ff5c45 commit fa1a138

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JwtValidateMiddleware.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ protected function parseAuthorizationHeader($header)
7777
if (strpos($header, "Bearer") === 0) {
7878
list($tokenString) = sscanf($header, "Bearer %s");
7979

80-
return base64_decode($tokenString);
80+
return $tokenString;
8181
}
8282

8383
// Otherwise we expect the token to be specific directly (not encoded) with the "Token" label

0 commit comments

Comments
 (0)