Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passing username, password, and token to simple_salesforce from environment variables causes authentication failure #675

Open
tylerbrentondavis opened this issue Aug 9, 2023 · 1 comment

Comments

@tylerbrentondavis
Copy link

We have encountered a persistent issue where we cannot authenticate using environment variables using simple-salesforce.
We have confirmed that the env variables are coming through using a print statement in our script, and we have confirmed that the values work when hard-coded in the script.

We are working on a linux virtual machine in a virtual environment.

We can literally see the values that we are trying to pass because we have set up print statements to ensure the values are not getting passed incorrectly.

@harkaranbrar7
Copy link

Special Characters: Check if there are any special characters within the environment variables that might be causing issues. Escape characters might become problematic if not handled correctly, so ensure that your variables are clean and don't contain unexpected characters.

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

No branches or pull requests

2 participants