The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
14 views

Asking to login again when application is terminated and launch it again

I have create a web view with frame size to which i am adding the sales force web view after launching the app in the first time it is asking the credentials and login fine But the problem is when i ...
2
votes
0answers
29 views

Rest API Authorization

We're trying to use the JSforce library (http://jsforce.github.io/) for javascript access to the salesforce api but we keep getting "invalid_grant" errors when trying to authenticate <script ...
4
votes
0answers
48 views

Passing Session Id using URL instead of HTTP headers

When invoking the Tooling API, is there a way to pass the Session Id using just URL parameters? I've seen a couple of Salesforce APIs that work when the Session Id is contained in a URL parameter: ...
2
votes
0answers
31 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
30 views

obtain refresh token with no redirect url?

Is there some website I can temporarily use as a redirect url? I am creating an app that has no web pages and I just need a refresh token so the app can stay connected pretty much forever to sales ...
5
votes
0answers
61 views

Using the Mobile SDK JS API, how can I determine if I have a refresh token already?

Background I currently have a hybrid iOS app that runs locally (index.html in the xcode app) that essentially provides a basic start page and login flow instructions that lead off to a force.com web ...
2
votes
2answers
32 views

Linking to agnostic login window?

I'm running into an issue where if a user's session is expired, next time they try to login, the login window is automatically pointed at their specific pod/mydomain. Not too bad for regular users, ...
2
votes
0answers
59 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: ...
2
votes
1answer
88 views

Deploy SalesForce HTML5 app into device.emulator

I have created a HTML5 jquery mobile app as this link. I can see the sample in browser and its working fine. They also mentioned that same can be deployed in a mobile device after logging in with ...
3
votes
1answer
36 views

Receiving an Error for creating IOS hybrid application from a visualforce page

I try to create an IOS hybrid_remote application from a visualforce page, but when I run it, I receive the following error message: ...
0
votes
2answers
43 views

Getting “Not Authorized” when using fuelsdk client

I am doing exactly what the docs are saying: require 'fuelsdk' client = FuelSDK::Client.new({client: { id: "myclientid", secret: "mysecret" }}) campaign = FuelSDK::Campaign.new campaign.authStub ...
1
vote
1answer
45 views

Integrating php with Salesforce

I am asked to built a web application in php where the back end database is going to be Salesforce Objects. The scenario is that "users" (can be 10,000+) would register/log in to the application and ...
2
votes
0answers
48 views

Error: Janrain authentication

I followed the janrain Auth provider tutorial for social login implementation and getting following error: ...
3
votes
1answer
86 views

Salesforce Apex Data Loader GUI vs. Command Line login

(Crossposted from SO - http://stackoverflow.com/questions/21255608/salesforce-apex-data-loader-gui-vs-command-line-login) I'm trying to wrap up some Upsert functionality into a simple application ...
4
votes
1answer
48 views

Is it possible to setup a web tab in Salesforce which will go to this KB without needing to login using username and password?

We have a Web KB that is built in PHP. Is it possible to setup a web tab in Salesforce which will go to this KB without needing to login using username and password? I initially thought that SAML ...
9
votes
3answers
110 views

Why Salesforce.com logs the user in automatically after his/her session has been invalidated?

I'm logging in users via REST in my .NET application. For that in the WebBrowser control constructor I do the following: string server = "https://login.salesforce.com/"; var authURI = new ...
2
votes
2answers
87 views

Auth Provider redirect to Community Custom Domain

I have a salesforce community that has two URLs, one of which is a custom domain, e.g. 1) mysite.force.com 2) mysite.com When an Authentication Provider is used (in this case, Facebook) to login, ...
3
votes
1answer
66 views

Retrieve NT login username on Visual Force page - For non-logged users

I'm looking for an opportunity to retrieve the NT login username from a Visualforce page or from an Apex class. It would be HttpContext.Current.User.Identity.Name in C#. --Extension-- Our business ...
2
votes
1answer
280 views

How to integrate external web app?

After reading Force.com Canvas Developer's Guide, I don't think I have figured out a good way to integrate an external web app inside salesforce.com. Following are questions that I am not sure about. ...
6
votes
2answers
188 views

How do I setup access for a REST resource apex class using session ID

We have a REST resource apex class, and its sole purpose is to eliminate the problem of hitting Salesforce page view limits. The way it is currently setup doesn't seem to be eliminating this issue. ...
10
votes
1answer
173 views

Will I break a TOS by letting contacts login to a visualforce page I create

Will I be breaking any TOS by giving contacts a username (email) and password (generated) to sign into a visualforce page to access an app I build. I want to do this without buying any customer portal ...
0
votes
1answer
519 views

“unsupported_grant_type” error when trying to authenticate

I am using the following code to try to get an authenticate. This is in C#, using the RestSharp library: public string GetAuthToken(string code) { var client = new ...
4
votes
1answer
103 views

OAuth 2.0 handshake for Portal users

As described on OAuth for portal , initial OAuth handshake for authorization code gathering is changed. It should be used different domain URL Like, instead of : ...
0
votes
0answers
50 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
301 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 ...
4
votes
3answers
81 views

Is there an official “Log in with Salesforce” image?

Salesforce allows an external application to authenticate using OAuth. Other providers of this service offer official button images that you can embed in your application to launch this process e.g.: ...
3
votes
1answer
58 views

Any way to get a mobile friendly login page with a Facebook provider type “Auth. Provider”?

Salesforce's "Facebook" auth provider directs a non-logged in user to the page https://www.facebook.com/login.php that is not very mobile friendly. I see no configuration for this page and appending ...
4
votes
1answer
169 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 ...
1
vote
1answer
580 views

SSL Exception when calling out: “System.CalloutException: IO Exception: java.security.cert.CertificateException: No subject alternative names present”

When I call out to an external webservice, I'm getting the following exception "System.CalloutException: IO Exception: java.security.cert.CertificateException: No subject alternative names present". ...
2
votes
1answer
189 views

ReCaptcha in web-to-lead form using PHP recaptcha.lib in Site.com salesforce

I have created a web-to-lead form and I am using the generated HTML in my site.com. I am using reCaptcha in my form. HTML Web-to-Lead form <form action="/recaptcha_verify.php" method="post" ...
0
votes
0answers
79 views

How to unset Time-Based Token Keys feature

We added Time-Based Token Keys for our users but have since decided that we don't want to go down that route. We followed the instructions to remove the key and successfully removed the key. ...
3
votes
0answers
55 views

Force user to agree to terms and conditions before using the system on portal?

I have a portal app and when a user logs in I want to force them to agree to the latest terms and conditions (t&cs) before using the system. So once a user logs in I check to see if they have ...
2
votes
1answer
140 views

How to handle session invalidation for username / password OAuth flow?

Question What's the proper way to monitor for session timeout and automatically get a new session using node-salesforce? Background Building a basic node.js app on heroku. Using the OAuth2 ...
7
votes
2answers
358 views

Salesforce call Heroku Web Service

We have a salesforce application, and the application triggers a callout to a heroku service that gathers some data from a third party database. After gathering and processing the data from the third ...
3
votes
1answer
127 views

Sales Force login bypass Add a Time-Based Token

I just created my salesforce account a few weeks ago and now when i try to login it requires me to scan a QR code which my phone, an old nokia model can't possibly do. Is there anyway for me to bypass ...
3
votes
2answers
170 views

Force.com authenticated site Custom URL

Well this is something supposed to be very easy but doesnt seem to work with Authenticated Sites. In a force.com Sites we can add custom domains to access the different VF pages. It works fine with ...
13
votes
5answers
354 views

How to roll your own authentication for an external Salesforce App?

Background If you're building an app, that involves Doing some very basic actions on behalf of non-Salesforce users, i.e. creating a Quote Is hosted externally (in other words, not APEX, but ...
3
votes
1answer
288 views

Should OAuth2 with grant_type “password” work for “High Volume Customer Portal” users?

I am using the "/services/oauth2/token" end point with grant_type "password" (and with client_id, client_secret, username, password) from JavaScript code. With "IP Restrictions" set to "Relax IP ...
4
votes
2answers
311 views

Making a Http GET callout to internal Salesforce URL

I have a Salesforce VisualForce page that pretty much just Outputs XML: https://[mynameserver]/Apex/[myxmlpage] I want to expose a WSDL service where I am pretty much just going to wrap the ...
2
votes
0answers
40 views

How to delete SSO information?

I have implemented the auth. provider SSO from Facebook. When I disable a user, I want to delete at the same time the authentication information of Facebook(ex. Third-party account link in User ...
4
votes
0answers
438 views

How to authenticate a JavaScript (e.g. AngularJS) client of an Apex @RestResource?

I am working on an AngularJS mobile application that obtains its data from salesforce.com using REST calls to @RestResource Apex classes. (There are no conventional Visualforce/Apex controller pages.) ...
4
votes
1answer
168 views

redirecting a user to home page after login from facebook Auth provider

I saw this tutorial on fb Auth provider, and I successfully implemented it. https://help.salesforce.com/apex/HTViewHelpDoc?id=sso_provider_facebook.htm&language=en_US#sso_provider_facebook After ...
8
votes
2answers
169 views

What user to login to Salesforce with in a connected app that monitors the realtime API

I'm developing a connected app that will be available in the App Exchange. I'm struggling to understand what user my app should connect to Salesforce as. The app has a component that monitors the ...
4
votes
0answers
113 views

REST API Random Authentication Failure on Sandbox

I've encountered a problem where a sandbox completely stops allowing me to login. Nothing changed in the sandbox configuration. I'm still able to login via the web interface using the exact same ...
5
votes
7answers
772 views

Using Timba Surveys: external users see “Authentication Required” page

We are trying to use Timba Surveys to send a feedback survey to our customers. A workflow is triggered when a case is closed and sends an email to external users with the survey link provided by the ...
1
vote
1answer
120 views

connected app needed?

If a webservice in Org A needs to communicate with a webservice in a package deployed in Orgs (B,C,D..) and Org A has user credentials for Orgs (B,C,D..) does the package deployed in those orgs need ...
3
votes
1answer
195 views

Does salesforce now require a security token even if if you have whitelisted ip?

It used to be that you could ditch the security token in API calls if you whitelisted an IP range for a user's profile. I've got a new dev org (wouldn't be doing this for production orgs) and I still ...
2
votes
1answer
118 views

How to get the Session Token of a Standard User

I would like to simulate some web service calls, for which I need the Session Token. With an Admin user, I can simply click on the Developer Console and get UserInfo.getSessionId(). However, with a ...
5
votes
1answer
229 views

Not getting login screen to protect private customer portal page

I have a VF page that is (supposed to be) privileged to authenticated Customer Portal users, but when I clear my browser's cookies and enter the URL for the page, I get immediate access without being ...
2
votes
0answers
76 views

2 way SSL authentification on expose FDC webservice

My client calls a webservice on Salesforce (server), first i send him my certificate (server) and then i would like him to send me back a client certificate ( two way ssl) how do I implement that? ...