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.
Uh oh!
There was an error while loading. Please reload this page.
-
I tried
request.headers.Authorizationbut its not defined.Beta Was this translation helpful? Give feedback.
All reactions