Try removing the trailing slash. This works: https://login.salesforce.com/services/oauth2/token This doesn’t: https://login.salesforce.com/services/oauth2/token/