You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.
It seems that the only way to auth with the node client is to put your username and api-key (effectively password) into your source (docs).
It would be better if there were an option to have it read credentials from ~/.plotly/.credentials, like the python client does.
I'm trying to ship a script that users can run to generate a plot with data of their choosing; putting my own credentials into that script / my SCM is not desirable or sensible.
Perhaps I've missed a way to do this currently? As it is, I'm going to parse ~/.plotly/.credentials myself in JS, and pass the u/p to require('plotly').
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Re-filing plotly/plotly.js#1386 here.
The text was updated successfully, but these errors were encountered: