Middleware doesn't work (well) when using async/await?!
Hi, I have a very simple middle where which is doing an awaited call to verify a JWT. However, this async call break the middleware and causes the app to behave weirdly. Adding the code in the screenshot causes the protected page to load for a split second and then still causes a redirect, I am not sure why and I am unable to debug this as I have already confirmed that the middleware is only executed once, at least based on logs. See video for the weird behaviour.
