401 token expired If the token is invalid and status code 401 is returned, the OCR SDK sends a request to obtain a token again. status-code: 401, status-description: ExpiredToken: The token is expired. After 15 minutes, you But when it tries to reconnect the jwt token might have expired and a 401 is throw from the signalr client. Windows 10 . SC_UNAUTHORIZED); return; } } Create token when user logs in. Assume your Web API is protected and a client attempts to access it without the appropriate credentials. We are using Microsoft Graph API to send Outlook emails. Faradilla, yang lebih akrab disapa Ninda, adalah Content Marketing Specialist di Hostinger. Our JWT token contains an expiration time and base on that we have to return 401 when it is expired to tell the client to use his refresh token to update JWT. . tydfyvajqdfrcnxmuzuzosflrxiwebtgamzlfltjgvutytkbrdlngkrdnbkxzynqsjibfmjyiexxhywn