This can be done locally. I’ll need some more information to help with this. What is the error message that you receive? Which endpoint are you calling? I’m assuming since you’re getting the Auth Code that your Redirect URI is set to http://localhost in the Settings page for your app?