NVandenBossche / salesforce-iam-flows

Node.js application that implements some of the most common SAML and OAuth flows in Salesforce.
37 stars 22 forks source link

Error on SOQL query on heroku #36

Open Prochniak opened 1 year ago

Prochniak commented 1 year ago

It's works locally, but on heroku SOQL query does not work, app crashes and stops. Steps to reproduce error

  1. Fork
  2. Download
  3. Cert gen
  4. Creation of connected app
  5. Create app on heroku using CLI - heroku apps:create {name of the app} --region eu
  6. Push code to new app - git push heroku master
  7. Update Config Vars
  8. Open app https://{name of the app}.herokuapp.com/
  9. Select flow
  10. Click next
  11. Click Next
  12. Error visible in logs, and app is not responding
NVandenBossche commented 1 year ago

Just adding the image you sent me via Slack. image

@Prochniak Can you confirm that your environment variables in Heroku are all set correctly?

Prochniak commented 1 year ago

Yes, I compared them with working local version.