You actually can get to the Consumer Key & Consumer Secret again. From Salesforce Setup, you have to go to Apps->App Manager. That brings you to the "Lightning Experience App Manager". From that list, find the app, click the arrow on the right of the row, then click "View".
That said, I'm getting "invalid_grant" / "authentication failure" when I try to run this. I think the Connected App isn't set up correctly. I'm not seeing it in "Connected Apps OAuth Usage" or under my Profile in "OAuth Connected Apps". Is there anything else that needs to be set up for a new Connected App other than what you wrote in the article?
Never mind, I was able to fix my issue by changing my login endpoint to the one that matches my actual sandbox (not test.salesforce.com, but xxxxx.my.salesforce.com)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hey Rachel,
You actually can get to the Consumer Key & Consumer Secret again. From Salesforce Setup, you have to go to Apps->App Manager. That brings you to the "Lightning Experience App Manager". From that list, find the app, click the arrow on the right of the row, then click "View".
That said, I'm getting "invalid_grant" / "authentication failure" when I try to run this. I think the Connected App isn't set up correctly. I'm not seeing it in "Connected Apps OAuth Usage" or under my Profile in "OAuth Connected Apps". Is there anything else that needs to be set up for a new Connected App other than what you wrote in the article?
Never mind, I was able to fix my issue by changing my login endpoint to the one that matches my actual sandbox (not test.salesforce.com, but xxxxx.my.salesforce.com)