title: NodeJS dotenv - Not reading string value properly
body: <p>I'm trying to us <code>dotenv</code> (<a href="https://github.com/motdotla/dotenv" rel="noreferrer">https://github.com/motdotla/dotenv</a>) in nodeJS to store the client secret value for an oauth server I'm using.</p>
  
  <p>My <code>.env</code> file looks like the following:</p>
  
  <p><code>clientSecret=imU86A3oPiZlyOhZybShraP377ers0MvowBaizEQ</code></p>
  
  <p>Within the NodeJS file, I have the following:</p>
  
  <pre><code>passport.use(new PasswordGrantStrategy({
      tokenURL: 'WEBSITE_ADDRESS',
      clientID: "2",
      clientSecret: process.env.clientSecret,
      grantType: "password",
  
  },
  </code></pre>
  
  <p>The problem is that I get a <code>Token Error</code> but, if I change it the following:</p>
  
  <pre><code>passport.use(new PasswordGrantStrategy({
      tokenURL: 'WEBSITE_ADDRESS',
      clientID: "2",
      clientSecret: "imU86A3oPiZlyOhZybShraP377ers0MvowBaizEQ",
      grantType: "password",
  
  },
  </code></pre>
  
  <p>This then works perfectly fine. I don't understand what the problem could be and I've tried to cast it as a string but no such luck.</p>
  
  <p>The values are both matching and I'm printing them out and they are both the same.</p>