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.

learn more… | top users | synonyms

2
votes
0answers
32 views

OAuth 2.0 JWT Bearer Token Flow giving a user hasn't approved this consumer error

I have setup a connected app and want to use the OAuth JWT. Based on my understanding of the salesforce documentation only preauthorized client can use this flow to get an access token. I have enabled ...
2
votes
1answer
81 views

Retrieve session ID using OAuth Authentication

I am implementing salesforce in my ASP.Net application and currently I am able to have login process as Username & password but now I want to change it to OAuth authentication. So i am able to get ...
2
votes
0answers
65 views

OAuth 2.0 JWT Bearer Token Flow

I'm trying to perform the OAuth 2.0 JWT Bearer Token Flow: https://help.salesforce.com/HTViewHelpDoc?id=remoteaccess_oauth_jwt_flow.htm&language=en_US But I'm having this issue: ...
0
votes
0answers
16 views

Am i using the right encryption method for oauth 1.0

I am using oauth1.0 to connect to an external API from salesforce. I am using http://oauth.net/core/1.0/#nonce as reference point. To obtain a Request Token, the Consumer sends an HTTP request to ...
1
vote
0answers
13 views

Get a User's OAuth Connected Applications via API

Is there a way to get the list of oauth connected applications of a given user (of a set of users) via SOAP/REST API? Thanks, Uri
3
votes
1answer
38 views

OAuth with Active Directory Single Sign On

I am writing a Java App that will integrate with Salesforce using OAUTH + REST. In normal circumstances without any single sign on everything is cool. But the same app might be used to work with ...
3
votes
2answers
51 views

How do I retrieve the server and session id from the Salesforce iOS API?

I'm currently trying to hack in some functionality to download attachment data for an iOS Salesforce application. I'm going to do that using a direct HTTP request, but for that to work I need to pull ...
2
votes
0answers
34 views

How to call EverNote API in Salesforce (Apex)

I have a requirement for which I need to convert all the opportunities in to ENML and then upload it on EverNote. I have created the ENML. But how can I upload/submit the ENML on evernote? What is ...
0
votes
1answer
43 views

Problem using Salesforce API over OAuth with Rails

I use the databasedotcom gem, and at first everything works fine (I am able to list Salesforce resources and perform queries on them), but then at random it drops the connection and gives me ...
5
votes
2answers
204 views

Using OAuth 1.0 encoded requests for external webservice calls

I have a business requirement that necessitates a callout from Apex to an external .NET based web service that receives signed OAuth responses. There is no built-in support for this in Apex, but ...
2
votes
3answers
279 views

Server-Side REST Authentication

We are trying to interface with our SalesForce instance via HTTP. The idea would be to call some of our custom classes from outside salesforce but without any user interaction. Typical scenario is ...
2
votes
1answer
117 views

How to refresh a token retrieved from the Auth.AuthToken class

A Salesforce instance is configured so that users can log in using OpenID Connect and their Google credentials. I am trying to access the token provisioned by the login via google to make callouts to ...
3
votes
1answer
123 views

Integrate SAML With A Hybrid App Built Using Mobile SDK

I have been developing apps using the Mobile SDK for a while now. All my apps till date use the built-in oAuth mechanism provided by the Mobile SDK for authentication. I have now encountered a use ...
0
votes
0answers
52 views

Problem in requesting token for oAuth from rest console

when i am requesting token for oAuth from rest console, get the following error, "error_description": "invalid client credentials", "error": "invalid_client" Any help appreciated..
1
vote
1answer
316 views

How can we get access token url and authorize url in rest console oAuth authorization? [duplicate]

I am new i rest api and salesforce. I am trying to connect rest console with salesforce. For setting oAuth authorization i need access token url and authorize url. Where would i get these values ...
2
votes
1answer
57 views

client User-Agent authentication flow - Force.com

I recently checked the post on "Digging Deeper into OAuth 2.0 on Force.com" by Pat Patterson. Question: In client User-Agent authentication flow, the token is sent in the redirect URI only. ...
4
votes
1answer
174 views

Canvas Signed Request not being processed correctly

I currently have a canvas app deployed across multiple orgs. This app uses signed request to authenticate a user. Along with some visualforce pages. Just this morning the signed request suddenly ...
3
votes
1answer
137 views

Salesforce API for SCIM provider is available?

I'm trying to write connector for WSO2 Identity Server which provision users to Salesforce. To do that i needed to find Salesforce SCIM endpoints for Users and Groups etc. I believe Salesforce acting ...
2
votes
1answer
867 views

What is the use of setting OAuth Callback URL as https://login.salesforce.com/services/oauth2/success?

I'm using Salesforce developer account and trying to obtain OAuth access token using curl and it returns 500 Server Error giving the message specified in [1]. Used curl command is curl -v -H ...
4
votes
0answers
77 views

How to intercept/hook into oauth flow

After a user authenticaes in our Org using the SSO oauth flow, and after the access token is created, we would like to hook into that flow to get that access token and set a couple of cookies. Is ...
2
votes
1answer
110 views

OAuth Possible for Chatter Communities?

Can customer community or partner community users use OAuth to authenticate and then interact with Salesforce data through the REST API?
4
votes
2answers
433 views

Salesforce oAuth login in popup or iFrame

I'm making an application that allows users to log in, and download a report generated from Salesforce with some additional fields specific for our environment (i.e. on top of normal FirstName, ...
5
votes
1answer
264 views

salesforce saml bearer oauth flow

I am getting an invalid assertion 400 json response from salesforce when i try get an oauth access token using the saml bearer oauth grant flow. {"error_description":"invalid ...
5
votes
1answer
199 views

Custom Landing Page Once Logged in salesforce

I wish to create different custom landing pages for users based on their profile, after successful login through SalesForce. Is it possible to create? Provide your thoughts.
6
votes
4answers
392 views

Oauth for Java native app

I have a Java native app I am trying to implement Oauth for. I have gone thru this article by Pat Patterson: http://wiki.developerforce.com/page/Digging_Deeper_into_OAuth_2.0_on_Force.com I am a ...
1
vote
1answer
98 views

how to create a custom home page based on user profile

I wish to create different custom home pages for users based on their profile, not the normal salesforce login page. Is it possible to create? Provide your thoughts. Thanks in Advance.
1
vote
1answer
248 views

Connected app and oauth in a SSO enabled org

I am working with a co worker and he is using connected app and all is setup fine (assuming?) He has client secret/ customer Key etc.. Since my org is single sign on enabled will I still use ...
4
votes
1answer
840 views

How to use Salesforce OAuth session ID for Metadata API?

I am using the REST API for my application. But I also need to use Metadata API. So for Metadata API calls I am trying to use the Session ID of OAuth authentication. For now I am able to use the ...
1
vote
1answer
193 views

How do I setup an access_token ?

I have a python script on a local server that needs to be given OAuth permissions to salesforce.com According to salesforce's documentation, I need to create a new token. Develop -> Remote ...
2
votes
1answer
197 views

Using Facebook as an IdP with Salesforce in oAuth

I am getting an access_token from Facebook in my JavaScript. My logged in user has a HVCP profile (nowadays, a communities user). I would now like to make REST API calls to my Salesforce instance with ...
4
votes
2answers
2k views

Issue with using OAuth token in REST API

I implemented the OAuth integration with my external app. Created a Remote Access(Connected App) configuration with a callback url (https://mysite.com/oauthcallback). Here I received the call back ...
3
votes
1answer
227 views

How is it that some OAuth-authenticated apps don't require an Org to create a Connect App in order to be installed?

As far as I can tell from the documentation you are required to created a Connected App (ex-Remote App) in order to use salesforce as the authentication authority. However there are apps that don't ...
2
votes
1answer
291 views

Salesforce Platform Mobile Services

I've been doing force.com mobile development for several years now but I'm very confused about the nomenclature with some of the recent changes. 1) Is Salesforce Platform Mobile Services (recently ...
4
votes
1answer
274 views

Outbound OAuth callbacks

We are in the process of implementing an outbound OAuth integration to a third party app. Our customers will, from our managed package, OAuth authenticate to the third party app and we will then use ...
6
votes
1answer
170 views

OAuth - URL No Longer Exists

I am an ISV partner of SalesForce.com, I use OAuth between my Google App Engine service and my service on Force.com platform to transfer data. For some reason the handshake of OAuth needs to be ...
0
votes
1answer
79 views

How to create an app/package whose sole functionality is to redirect? [duplicate]

I want to create an app/package to be published on the appexchange. The only functionality of that app/package will be to redirect the user to a configured URL in the app. This will happen once ...
5
votes
2answers
1k views

Salesforce: Any API for getting user information?

I am trying to find a way to get the information about the salesforce enterprise user from his auth_token. I want to find the username, email address and role(admin/user) from the auth-token. ...
3
votes
1answer
282 views

REST API - Can I authenticate an Android app without having the client id/secret?

Anyone know if it's possible to authenticate with SF from an external app (ie an Android app, or a Java application) without the client having the "Client Key" and the "Client Secret?" I'd rather ...
3
votes
3answers
176 views

accessing the Streaming API from a public-facing Force.com Site

I've got a telemetry application for which the Streaming API would be extremely useful. However I want the subscriptions to be publicly accessible. (So that anyone with the client can waltz up and ...
5
votes
1answer
300 views

Must I really use packages and a developer edition org simply to expose a JSON/REST API?

I have an org with a bunch of custom objects. I need to sync records of these objects with data from an external system. I want to expose a JSON/REST API to the external system and have it send ...
0
votes
2answers
945 views

Call Apex REST service from JS on same org VF page - how to get instanceUrl and authToken?

I have an Apex class implementing a simple REST GET method @RestResource(urlMapping='/myrest/*') global class MyResService { @HttpGet global static CustomObject__c doGet() { .. } } ...
0
votes
0answers
75 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, ...
3
votes
3answers
1k views

Is there a way to get rid of Salesforce oAuth login page?

I am developing a salesforce mobile app. I want to create a customized login page to ask user to input username and password. I will use this username and password to call an external oauth service in ...
5
votes
1answer
626 views

Bypassing RemoteAccessAuthorizationPage when using a remote application?

Hey guys I had a dream last night about a huge issue in our ability to aggregate data. After setting up a remote app, using PHP to "CURL" into login.salesforce.com for authorization, we hit the ...
9
votes
2answers
1k views

Redirect Uri Mismatch when URI's are the same

I've been dealing with this mismatch for the last two days, and am at my wits end. We have a development server set up (accessible from the outside), and I am trying to get my OAuth token back from my ...
2
votes
1answer
217 views

Getting a per-application/anonymous client id for REST API

I want to get a desktop app to access the REST API. I currently have set up a connected app and am using that personal client id. Is there a way to get some kind of partner/anonymous client id so ...
2
votes
1answer
579 views

OAuth API doesn't send refresh token with custom redirect_uri

If I put this link in my web browser (I put them on separate lines for readability): https://login.salesforce.com/services/oauth2/authorize ?response_type=token &client_id=MY_CONSUMER_KEY ...
2
votes
2answers
250 views

Salesforce OAuth and Client Network Configuration Changes

Can this be true that if we use Salesforce OAuth to grant login to a desktop app, then after validating and receiving tokens -> access, refresh etc) if client workstation switches Internet Connections ...
1
vote
1answer
109 views

Salesforce sites license and oauth

I could answer this question by spending a day doing it, but has anyone tried using oAuth to log in a sites user? My concern is that since usernames are not globally unique, but only unique to that ...
4
votes
1answer
331 views

Authentication approach with Salesforce in Mobile App

Here is my case study: We are developing a mobile app. The mobile app interacts with two salesforce orgs i.e. Metadata org : Having all the customer metadata required by mobile app for each ...