loopback-component-realtime icon indicating copy to clipboard operation
loopback-component-realtime copied to clipboard

Avoid exposing internal token in the repo

Open LautaroJayat opened this issue 3 years ago • 0 comments

Noticed that internal token is exposed in this line:

https://github.com/mean-expert-official/loopback-component-realtime/blob/b5c10dc9df3206183834eefb2e9db7b313c8e25c/src/drivers/io.driver.ts#L124

it would be nice if the internal token could be injected as a configuration using the options parameter: https://github.com/mean-expert-official/loopback-component-realtime/blob/b5c10dc9df3206183834eefb2e9db7b313c8e25c/src/drivers/io.driver.ts#L23

LautaroJayat avatar Jun 09 '21 19:06 LautaroJayat