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.

Filter by
Sorted by
Tagged with
1
vote
1answer
298 views

RefreshToken questions

When creating a Marketing Cloud Application (to be listed on the HubExchange) an installation of the App issues a JWT token that is received by the defined login end-point. The token contains, ...
1
vote
1answer
1k views

Get SFDC sessionID via access token

As the title. I'm using username/password flow to request an access token. So how can I request a SFDC sessionID from that token?
2
votes
1answer
869 views

Import salesforce WSDL file from URL

I have a website. An user can login into this site through salesforce login oAuth. I need to implement next functionality: after user login I should in some way get WSDL file relating to user account. ...
0
votes
0answers
460 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:/...
4
votes
2answers
2k views

Making rest request with Oauth

I have all four Oauth token consumerKey, consumerSecret, accessKey and accessSecret. I need to make a request to a url from my apex code. Is there any library or a way to make this request. In java I ...
5
votes
1answer
2k 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
1answer
35 views

Using Salesforce oauth to make calls to own account/app

We use salesforce in our website. I'm new to it, and still can't find a way to calls REST api to our own account without going long way of visiting oauth login page, granting access etc(oauth flow). ...
5
votes
1answer
2k views

Canvas App started sending GET instead of POST

I have a canvas app that is setup to use the signed request (POST) access method, and when I test the app via either the tab that it creates or the canvas app previewer it sends my webserver a POST ...
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:'...
2
votes
1answer
250 views

Authentication and Access Salesforce Account through Other Portals

I am developing an application in Angularjs and my requirements is to get login in my application through SalesForce, and access data of SalesForce. I have created developer account in Salesforce and ...
0
votes
1answer
3k views

How to call REST webservice without username and password in request -

I have created one restful class: @RestResource(urlMapping='/showAccounts/*') global class ExRestController { @HttpPost global static List<Account> getAccounts() ...
1
vote
0answers
467 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 ...
1
vote
1answer
4k 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 from ?...
2
votes
1answer
3k 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 ...
11
votes
2answers
8k 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 ...
3
votes
1answer
502 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 ...
6
votes
3answers
11k 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 ...
0
votes
1answer
318 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 ...
4
votes
1answer
793 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 ...
5
votes
1answer
1k 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 ...
6
votes
1answer
4k 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 &...
3
votes
1answer
625 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 ...
5
votes
1answer
349 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 ...
2
votes
1answer
598 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?
6
votes
2answers
4k 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, ...
6
votes
1answer
1k 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 assertion","error":"...
6
votes
4answers
2k 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 ...
2
votes
1answer
806 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 ...
5
votes
1answer
979 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.
1
vote
1answer
396 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.
2
votes
1answer
966 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 https://...
1
vote
1answer
500 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 Access ...
5
votes
2answers
8k 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 ...
9
votes
1answer
866 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 ...
1
vote
2answers
1k views

Possible OAuth Remote Action Bug

I think I've discovered an OAuth Remote Action bug. The behavior I'm seeing is that when I navigate to a Visualforce page, using the oauth_token parameter to authenticate, the Visualforce page ...
4
votes
3answers
434 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
920 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 ...
0
votes
1answer
114 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 ...
3
votes
1answer
676 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 ...
5
votes
1answer
969 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 ...
1
vote
2answers
3k 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() { .. } } ...
4
votes
1answer
607 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 customer....
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, ...
7
votes
1answer
746 views

Mass-Edit records in Google Spreadsheet

Mass-Editing data in Salesforce is a pain. And even if tools like AppBuddy make this less click-intensive, none comes close to Excel or Google Spreadsheet. So I was just thinking if one could push ...
5
votes
1answer
2k 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 ...
2
votes
1answer
467 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
2answers
570 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
148 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 ...
2
votes
1answer
5k views

Oauth 1.0 oauth_signature generation and header creation for the authentication of external system

Can anybody help me with the oauth 1.0 oauth_signature generation from the client secret and consumer key? I have got client secret and consumer key along with the oauth token. Just need helping hand ...
2
votes
2answers
430 views

Secure Communication from Managed Package Subscriber Org to LMO (License Management Org)

Unfortunately, my managed package needs the ability to enforce a limit that isn't a user license. Therefore, I need my managed package, installed in subscriber orgs, to ask my LMO (License Management ...