- Deploy this app to Heroku
- Open Auth0 app and enable [Password] authentication type at advanced settings section. Then add your users.
- Open the Heroku app setting and set config variables for Salesforce authentication.
- Content-Type:
application/json
- Body:
{
"email": "john@example.com",
"password": "test1234!"
}
Success (200)
{
"access_token": "00D28000000W2x5!AQQAQNTgJ_KyS9.BuohNq9_Awami_.OL9MiZe24bTt75Un56KChhd7lfJ2J.R_XdgP2cvx_clufew6i9acH8FKG9wacaDdgj",
"instance_url": "https://YOUR_INSTANCE_OR_DOMAIN.salesforce.com"
}
Error (401)
Invalid login email or password.