Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
1k views

How to get Refresh Token in Postman in 2024?

I've been trying to get the refresh token using Postman without success. It seems from what I've found that some ways have changed over the years. I do have the request to get the access token, which ...
Z0q's user avatar
  • 3
0 votes
1 answer
576 views

Apex callout with Oauth Token from Trigger

I am currently trying to make a webservice callout via Apex to update some fields on an object. We have an insert trigger that is linked to an Apex handler class. To use the webservice, I must first ...
MMeadows's user avatar
  • 521
1 vote
1 answer
873 views

Issue getting public key, getting 400 Bad Request using JWT+OAuth while integrating salesforce with Box.com [closed]

I am trying to get access token from box.com. For this I created a custom app that uses OAuth and JWT. I have also created a self signed certificate in salesforce. This self signed certificate is used ...
lambad's user avatar
  • 385
0 votes
0 answers
116 views

Auth Provider for Trello?

I've spent too many hours today trying to set up an Auth Provider + Named Credential for Trello's auth flow... I guess my question is, for those who have dealt with Auth Providers in SFDC, is this ...
Mike's user avatar
  • 1,209
5 votes
1 answer
3k views

Using Named Credentials in OAuth 2 authentication (grant_type=password)

I want to get an access token from an external endpoint (HTTP callout to REST API) without hardcoding passwords. The external system expects a request with Oauth 2.0 authentication details provided in ...
moneo's user avatar
  • 53
0 votes
1 answer
7k views

OAuth 2 Client Credentials - Missing 'grant_type' & Length Required

Trying to connect to an endpoint to receive a token back. Http http = new Http(); httpRequest request = new httpRequest(); request.setHeader('grant_type', 'client_credentials'); request.setHeader('...
S.B.'s user avatar
  • 2,141
1 vote
1 answer
838 views

Http request not returning token through Apex

I am trying to communicate with an API through Apex, the parts of the API I wish to access require an access token acquired using OAuth 2.0. I have created a method that will access the endpoint and ...
Joe Beech's user avatar
  • 125
4 votes
1 answer
6k views

Getting "unsupported_grant_type" error when using Angular.JS app + ExpressJS proxy

I know there's already a lot of discussion around the "unsupported_grant_type" error that occurs when using the Username/Password Authentication Flow, but I've exhausted through all other proposed ...
jlewkovich's user avatar
2 votes
1 answer
2k views

Creating a standalone java client of salesforce chatter using rest Api

EDIT I am struggling to add the correct formatting to the code post below. if someone can edit this question and apply the proper formatting to code, i would appreciate it. I am fairly new to ...
Sheikh Zubair's user avatar