You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using JWT auth. The JWT has a TTL of 5 mins, so I need to update the JWT token at regular intervals. At the moment I am setting this in the header part of dotnetify.react.connect. I am fetching a new JWT from the auth provder at regular intervals before it will expire, but how do I update the header to use for authorization from react?
Tried it, and it do not seem to work. principal = ValidateBearerToken(ParseHeaders(hubContext.Headers), out validatedToken); still validates the old JWT token
I am using JWT auth. The JWT has a TTL of 5 mins, so I need to update the JWT token at regular intervals. At the moment I am setting this in the header part of dotnetify.react.connect. I am fetching a new JWT from the auth provder at regular intervals before it will expire, but how do I update the header to use for authorization from react?
this.vm = dotnetify.react.connect("vm", this, {
headers: Auth.getAuthHeader(),
});
The text was updated successfully, but these errors were encountered: