Abdul Basit
03/16/2024, 7:53 AMsecret.properties
and in CI/CD, i have added variables.
Now when wasmJsBrowserProductionExecutableDistributeResources
task is run, and i try to push the files, i get:
—— WorkOS Production API Key —————————————————————————
remote: locations:
remote: - commit: e1945e4582844cf57dbfd6c04b1d7d8d79d11c6d
remote: path: docs/skiko.wasm:40175
Now how i can obfuscate/protect my secret in skiko.wasm
?
or is there any way around ?mohamed rejeb
03/16/2024, 8:25 AM.env
and set the .env
variables in your server. I didn't try it with Kotlin but that's what they do in js.
But the token will be visible anyway from the network inspector, So you need to add more restrictions by accepting api calls only from your website domain or something like that.Abdul Basit
03/16/2024, 8:26 AMAbdul Basit
03/16/2024, 8:26 AMmohamed rejeb
03/16/2024, 8:28 AMmohamed rejeb
03/16/2024, 8:29 AMAbdul Basit
03/16/2024, 8:31 AMmohamed rejeb
03/16/2024, 8:38 AMmohamed rejeb
03/16/2024, 8:38 AMconst apiKey = process.env.REACT_APP_APIKey
const apiSecret = process.env.REACT_APP_APISecret
Jacob Ras
03/16/2024, 9:38 AMDarryl Miles
03/16/2024, 7:54 PMDarryl Miles
03/16/2024, 7:55 PMDarryl Miles
03/16/2024, 8:02 PMAbdul Basit
03/17/2024, 5:16 AMAbdul Basit
03/17/2024, 5:19 AM