Skip to content

Replaces 'Your AUTH_ID' with process.env.authId and same for token#11

Open
Rafael Cosman (RafaelCosman) wants to merge 1 commit intoplivo:masterfrom
winthegame:master
Open

Replaces 'Your AUTH_ID' with process.env.authId and same for token#11
Rafael Cosman (RafaelCosman) wants to merge 1 commit intoplivo:masterfrom
winthegame:master

Conversation

@RafaelCosman
Copy link
Copy Markdown

This encourages developers to use environment variables as opposed to leaving their authId and authToken directly in the code. Using environment variables for data of this type is a standard best practice. Putting tokens in code can jeopardize the application's data and user's data.

I've also made this change in plivo/plivo-node's readme: see plivo/plivo-node#36.

@cgillette
Copy link
Copy Markdown

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants