Environment variables in embed is not saved


#1

Hi RunKit team,

I’m working on a blog, tinkerylabs.com, that uses RunKit to teach people how to tap into various APIs. I have OAuth integrated into the blog posts so you can run the sample scripts live.

Since RunKit notebooks are public, I assume the best practice is to use embed environment variable, rather than injecting the access token into code. However when the notebook is saved, or running in endpoint mode, the environment variable is not carried over. I made a page here to demonstrate. https://tinkerylabs.com/p/dcf70ee2-71ec-4dad-bc1b-9384dca6a6ec/

Thanks!