Questions tagged [oauth]

OAuth is an open, standard, protocol to allow users to securely authorize web, mobile and desktop applications to access web services on their behalf. Salesforce supports OAuth 1.0a and 2.0.

86 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
1answer
293 views

OAuth Token Management - Fuel SDK (PHP)

What are recommended best practices for reusing the OAuth token for the ExactTarget Fuel SDK? On my website once I get a valid OAuth token, I cache it for 15 minutes and use that same token for all ...
1
vote
0answers
416 views

Android ionic hybrid app missing SalesforceOAuthPlugin

I'm trying to buid a simple android SFDC app using Ionic, I used this https://github.com/driftyco/ionic-starter-salesforce when I try it in the browser using ForceServer it works fine but when I try ...
1
vote
0answers
479 views

Salesforce to Quickbooks using oAuth 1.0

I am trying to connect to Quickbooks online from apex. I have created an App in IPP and got consumer key, consumer secret, Auth token, Auth Token secret. Now I am confused how to used them to connect ...
0
votes
0answers
14 views

Functionality Embedded Login explained

Salesforce provides the Embedded Login fuctionality which is pretty OK for some scenarios. But the issue is that it relates to user Third-Party Cookies, which will be restricted more and more in the ...
0
votes
0answers
25 views

invalid_grant: expired authorization code when using OAuth2 flow

I am using OAuth2 to authorize the user I generate the URL at the backend send the url to the frontend (which is in VUE ) which open it in the new window the callback url is one of the route of the ...
0
votes
0answers
15 views

How do you do Canvas Authentication client-side for a Javascript application?

I am trying to build out a PoC of what will eventually be a nodeJS+React application that will be embedded in Salesforce via Canvas. I'd like to get the PoC up and running with just React. What would ...
0
votes
1answer
313 views

SFDX: Authorize an org error: listen EACCES: permission denied 127.0.0.1:1717

I have been using DX for quite some time. Authoring an org either through command palette or with a command in terminal had never been a problem [Command is like this: sfdx force:auth:web:login --...
0
votes
0answers
73 views

Allowing connected app oauth to use salesforce azure ad login

I wants to use salesforce oauth using through connected app. But my salesforce login happening using azure ad login(open ID). Connected App (OAUTH) -> Salesforce -> Azure AD So Can you please ...
0
votes
0answers
204 views

CORS policy : No 'Access-Control-Allow-Origin' header is present on the requested resource

My requirement is that I want to expose my lightning component to an external website(HTML webpage) without user having to log in to salesforce. For this, as per this questions's answer., I have done ...
0
votes
0answers
19 views

Am getting Outh Error 1800 while trying to login to salesforce from external application

Am getting Oauth 1800 error when I create a developer account with region as United states , and when i create a developer account with India or Australia am able to successfully sign in from ...
0
votes
0answers
51 views

Connected App / Canvas in Managed Package with dynamic endpoint

I am selling a Java App that customers are installing on their server and now build a Salesforce app (Managed package) to integrate it. This means The Salesforce App packages some Canvas elements to ...
0
votes
0answers
57 views

I have the ClientID and ClientSecret, I receive the same error after multiple attempts

"https://developer.salesforce.com/docs/atlas.en-us.mc-apis.meta/mc-apis/error-handling.htm","errorcode":404,"message":"Not Found" Here is my request https://subdomain_name.auth.marketingcloudapis....
0
votes
1answer
67 views

React.js GraphQL web app returning random null values

I'm working on a React.js web app that leverages GraphQL for accessing a combination of varying endpoints, including our org's SF data. My only issue is isolated to my Salesforce progress. In general, ...
0
votes
0answers
267 views

Automatic login with Salesforce

I would really appreciate if anybody could guide me to achieve this requirement. A user has told me recently that in his company, the technology team has developed a desktop app whose main purpose is ...
0
votes
1answer
119 views

Token generation for Einstein Sentiment API

I am trying to implement the sentiment api but having issue while generating the access token. I have uploaded einstein_platform.pem file in Files in Salesforce. ContentVersion con = [SELECT Title ...
0
votes
1answer
279 views

OAuth Error when attempting to Deploy the ApexMocks open source library in Trailhead unit 'Apply Unit of Work Principles in Apex'

I'm logged in to Trailhead as myself and working on this unit: https://trailhead.salesforce.com/content/learn/modules/apex_patterns_sl/apex_patterns_sl_apply_uow_principles Scroll to 'Preparation for ...
0
votes
1answer
107 views

Disable custom connected app from profile

I have a custom connected app that is used for OAuth purposes (outside of Salesforce). Therefore I don't need it to appear in the app launcher, unfortunately I see no way to remove it, at least for ...
0
votes
0answers
83 views

How to consume OAuth 1.0 webservice in salesforce

I have another application which I need to call and they are using OAuth 1.0. now I am calling their system endpoint, I have client id and client secret only. Do I need to generate token also? ...
0
votes
0answers
99 views

Salesforce Oauth 2.0 JWT

I am getting below - {"error":"invalid_grant","error_description":"user hasn't approved this consumer"} Dev org To Dev Org, below are the connected app -
0
votes
1answer
370 views

Java - Creating BulkConnection object with Oauth token

I have successfully been able to create a bulk API connection with the following code that calls the SOAP auth endpoint: ConnectorConfig partnerConfig = new ConnectorConfig(); partnerConfig....
0
votes
0answers
214 views

Embed Visualforce Page into Native Mobile app as Hybrid page

We have developed a native iOS mobile app that connects to Salesforce, users login through this native app using OAuth user-agent flow and a connected App. This all works fine. We are now trying to ...
0
votes
0answers
45 views

Update a Record's Fields in Production Org from External Website w/o Salesforce Login

I have a form on my WordPress website that collects additional information from customers. I want this information added to an existing record of MyCustomObject. To do this, I will need to make a ...
0
votes
0answers
45 views

Can not get token back from OAuth callback URL using CurrentPage.parameters

Can not get token back from OAuth callback URL using CurrentPage.parameters We have a connected app for which the callback URL is a visualforce page. https://myapp.na59.visual.force.com/apex/...
0
votes
1answer
487 views

Salesforce OAuth redirect after success

I have implemented most of the Salesforce OAuth process (Web Server Flow outlined here) using a VF page to initiate the process. The VF page uses javascript in a command button to open a popup User ...
0
votes
0answers
43 views

Why is Okta continually reauthenticating from Salesforce CPQ?

We just implemented Salesforce CPQ in Production and found that every time a user does anything that requires a call out to the server that CPQ is on... Okta wants to re-authenticate each time, which ...
0
votes
0answers
428 views

Issue whie generating auth signature in salesforce

I am facing an issue while generation Auth signature in salesforce. I tried to test the API from Postman and it works well with key and token. Even when I change the Authorization Header in Apex to ...
0
votes
0answers
20 views

OAuth response is different when called from apex and browser

I am doing a basic OAuth, I am getting 2 different errors when I try calling api from browser and from my apex code. When the api is called from the browser it requires username and password for ...
0
votes
0answers
291 views

Error oauth_problem when trying to Connect to Xero using method POST

Good day everyone, I am trying to connect to Xero using Salesforce Apex. I've found this link Apex for Xero and find it very useful. Everything is working well when I use PUT and GET method. The ...
0
votes
0answers
470 views

Avaya Communicator web is not working

We use Avaya communicator web to run our call center. When I open Avaya web extension (Google chrome) and click on login through Salesforce credential and login. I got an error message: “License ...
0
votes
1answer
147 views

Oauth call to webservice

I am trying to call this web service via a wordpress plugin: https://na25.salesforce.com/services/apexrest/echosign_dev1/template/load/a1t31500002HmjV?email=VAR Adobe said I need to have a valid ...
0
votes
1answer
210 views

I want to implement Oauth From class without using Pages and getting 302 URI MISMATCH ERROR. i HAVE USED THE FOLLOWING cODE

public class oAuth_Controller{ private auth_response rt; public pagereference auth_Step_1(){ String auth_url = 'https://login.salesforce.com/services/oauth2/authorize'; String params = ...
0
votes
0answers
487 views

Oauth WARN [HttpMethodDirector] Unable to respond to any of these challenges: {token=Token}

I'm just a beginner with Salesforce Oauth. When I try to get the access token with username/password flow everything seem good. This is out put: > Status-Code: 200 Auth response: { "id": "https:/...
0
votes
0answers
5k views

How to Access contacts of Salesforce account from External Modules/Portals using OAuth

I am creating an application in angularjs. and I want to import contact of salesforce account in my application. I have already got response of access_token and I am passing given below url. url:'...
0
votes
0answers
131 views

How to modify androidSDK to customize oauth process

For a salesforce touch mobile app. I need to modify the SDK to customize the oauth process. Because I need to call web services from two sites. One is salesforce, another is client's web service. So, ...
-1
votes
1answer
47 views

Salesforce Data Loader OAuth not taking another email address

I am trying to log in to a production environment in Data Loader through OAuth and giving a custom domain, then it is taking my personal outlook account and directly giving an error without giving ...
-1
votes
1answer
130 views

How can I use OAUTH on Salesforce Live Agent REST API

We want to use OAUTH - userid/password flow to access salesforce live agent rest API. We have implemented this for other rest api provided by salesforce. However the live agent rest api are wide open ...

1
2