Replies: 4 comments
-
this gives error about value possibly being null:
error:
|
Beta Was this translation helpful? Give feedback.
-
I"m trying to get the bearer token from the Authorization header |
Beta Was this translation helpful? Give feedback.
-
Check against null and only do the RegExp matching if the value truly is a string. |
Beta Was this translation helpful? Give feedback.
-
As mentioned, the error is correct, the value could be
|
Beta Was this translation helpful? Give feedback.
-
I tried
request.headers.Authorization
but its not defined.Beta Was this translation helpful? Give feedback.
All reactions