We are using JWT token to authenticate the WebSocket Connect request by intercepting it in ChannelInterceptor.
But I could not find any way to specify the duration after which the WebSocket connection should expire based on the expiration of the JWT token.
Is there any way I could specify a specific duration for each connection after which they should automatically disconnect?