Replies: 4 comments
-
Have you taken a look at the docs? |
Beta Was this translation helpful? Give feedback.
-
Yes, it was from that documentation that I got my code. As I said, it works normal on localhost and it worked normal before on azure. This error has already happened in the past, but then I restarted the service (web app) and started working again, but now it doesn't work at all. |
Beta Was this translation helpful? Give feedback.
-
well, I can't even login to test it, since I have other errors: azure / blazor - SecurityException: Invalid assembly public key. (0x8013141E) |
Beta Was this translation helpful? Give feedback.
-
Same story here -- in short if I remove According to documentation I should add ConfigureJwtBearerOptions and plug it in. But using this class or not using it has the same effect -- first attempt is done over web sockets and it fails. On server side I can see the token is passed in query, it is good token, the next log is and that's it. Apparently all subsequent calls avoid WS and basically it works, but this first error is troubling. |
Beta Was this translation helpful? Give feedback.
-
I'm using blazor (client) and set up a Hub (with Authorized attribute). Apparently it works, but this error is occurring. On the first day there was no error, but now it is. If I remove the attribute, the error does not occur.
My code looks like this:
I need it that way, because in addition to the security issue, I need to send it to a specific user:
Beta Was this translation helpful? Give feedback.
All reactions