Cross-Lab-Project / crosslab

https://Cross-Lab-Project.github.io/crosslab/
3 stars 4 forks source link

[auth] when token is expired the gateway will return with 500 instead of a proper authentification error #11

Closed jonau closed 1 year ago

jonau commented 1 year ago

log:

Auth:             | getAuth called
Auth:             | getAuth failed: ExpiredError: Token is expired
Gateway:          | 2023/01/06 11:12:48 [error] 33#33: *5 auth request unexpected status: 500 while sending to client, client: 127.0.0.1, server: localhost, request: "POST /devices/ef416742-5c7c-42e4-8176-df8a7bf051eb/websocket HTTP/1.1", host: "localhost"
jonau commented 1 year ago

fixed in b1984460e877d765ccd5bf1cb713e6d247fc9bd6