Relating to the mechanisms for user authentication and verification. There are many potential approaches to authentication on the salesforce platform.

learn more… | top users | synonyms

3
votes
0answers
18 views

Custom Domains in web authentication flow

I'm running into authentication issues with users who are attempting to sign into Salesforce on our product using a custom domain (Oauth user-agent flow). From the Salesforce web signin page, the ...
0
votes
1answer
31 views

Facebook as Auth Provider - no username or email passed in Auth.Data

I've been trying to setup auth provider login with facebook. I've followed the instructions online, have generated an authentication handler and customised. However when I try logging in (through ...
3
votes
1answer
93 views

[API][CORS] Not able to use API despite domain being whitelisted

I'm new to Salesforce, but before asking I've been through docs and can't find a way around it. I have a Salesforce Developer Edition where I have a user with API privileges, connected app added and ...
0
votes
0answers
17 views

Facebook OAuth XML Response doesn't return required fields

I am trying to create Facebook OAuth provider in salesforce. I have created Facebook App and given appid and app secret. But in the Test-Only Initialization URL when I am trying to login using my ...
0
votes
0answers
17 views

Misbehaving Rest API in production for inbound calls leveraging oauth2 — receiving 403

I have a client that is having problems accessing custom SF Rest API. Login is successful using oauth2 token (services/oauth2/token) with grant_type = password. Attempt to access custom REST API ...
0
votes
1answer
30 views

Salesforce Oauth on client side

I am trying to authenticate a client in my SPA via Salesforce Oauth all on the client side. Currently, I have been trying to implement the user agent flow and have been receiving many errors such as: ...
1
vote
2answers
19 views

JWT Oauth flow Confusion

I am having trouble getting the hang of the JWT Oauth flow and how it exactly works. Is a user supposed to enter their username on your website, which you then generate the JWT on your server and then ...
1
vote
1answer
33 views

getAccessToken is returning null when using Microsoft Access Control Source

I have set up OAuth with Sharepoint by following a Salesforce tutorial. When I go to the Test-Only Initialization URL, I am successfully directed through the OAuth process and end up at the Callback ...
0
votes
1answer
34 views

Python script unable to validate App Keys with Fuel SDK

I am trying to run a basic Python script to search for a subscriber but it is failing to authenticate. I've set up Python (successfully ran a Hello World script), installed FuelSDK, created a ...
0
votes
0answers
25 views

X.509 based authentication for Apex REST class on Force.com site

I'm trying to implement X.509 based authentication for an Apex REST service (an Apex REST class with a post method), which is exposed via a Force.com site. I have the public certificate from the ...
4
votes
1answer
49 views

Attempting to use jQuery to POST to an external server from a Lightning Component

I'm a new dev so feel free to scrutinize everything I post because I need to learn. So I have a component and am utilizing a helper to send some data to one of our company's external sites using ...
0
votes
1answer
72 views

Apex to call external API and adding security token

So here is an object what I am trying to accomplish. If there is any updates on the account, do an API call. This call will grab account information and pushed out to external database(my own ...
3
votes
2answers
58 views

received the code but not able to get access token in Salesforce using angular js

I am a beginner in angular js and Salesforce. I am trying to build an application which implements the give link step by step. ...
0
votes
1answer
96 views

OpenID Connect with custom IdP: AuthorizationError: No_Oauth_Token/Empty Response

Sorry for kicking this dead horse, I've seen this question asked before. The problem is that answers to it are of no use, it has nothing to do with the fact that it's a "localhost", until parties can ...
1
vote
0answers
24 views

Forceios App not loging out the community app

I tried to create a Salesforce community remote hybrid app using the forceios. I have set all the configuration for the same. I am now able to login to the app. But when I hit logout and exit the app; ...
0
votes
2answers
65 views

API Authentication - Where should I begin?

I am integrating an external program called Checkfront into our Salesforce. I will be authenticating the program using OAuth2. Where should I begin in terms of authorizing the program, and logging ...
1
vote
2answers
55 views

Do SOAP API session IDs depend on the IP address of the request?

If I login using a SOAP API I get a session ID, is it possible to use this session ID with other IP address without authentication? Does the sessionID depends on the IP address?
3
votes
4answers
200 views

Rest API GET and POST

I have a general question regarding REST API (either JSON or XML) that I am trying to figure out before I go knee deep. Let's say I save a lead and send a webservices call to an external system that ...
1
vote
0answers
29 views

Alternative to Communities ? [closed]

I am working on implementing sites with occasional authenticated pages. I know this is now possible with the communities, however, some of our costumers may not be up to it, due to the need of ...
1
vote
1answer
84 views

OAuth Password Authentication for curl

I've seen this question on here numerous times, but none of the solutions I've found have helped. I'm trying to authenticate via curl. I set up a connected App, and retrieved the Client Id and ...
1
vote
1answer
116 views

Integrating Salesforce CRM to Exact Target

I Have a requirement to call Soap API of Exact target via a callout from my Salesforce CRM Apex class. I am using the WSDL2APex approach and i'm able to successfully make the call to exact target and ...
2
votes
1answer
75 views

REST API Authentication Options for backend service

I'm reading the force.com REST API guide, specifically, the area around authentication. https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_understanding_authentication.htm ...
2
votes
1answer
146 views

Getting Same access token for multiple login request for the same user

I have written code for authenticating with Salesforce. I am using Grant_type=Password. I am using some userName like "ABC" and password like "XYZ". I am making multiple request login with same ...
0
votes
1answer
24 views

Is redirection to user from 3rd party web app to salesforce dashboard is possible and how?

I created a login form at my domain xyz.com, now user enters salesforce username and password on form residing at my xyz.com, if credentials correct redirect user to salesforce dashboard otherwise ...
0
votes
1answer
131 views

how to renew salesforce CA signed certificate

We have existing web service client on salesforce to call out third party web service with CA signed saleforce certificate. When this certificate is expired, how to renew it from saleforce ...
2
votes
1answer
40 views

Sms Based Authentication

I enabled sms based authentication.Then it works in first time when i signed in.But then it never requires second step for my computer again. It adds the computer in trusted list.How can i ...
1
vote
0answers
131 views

Java issue on command line data import using data loader

I am running date import using command line batch file on daily basis for last 3 years without any problem. This morning I get this error Caused by: ...
0
votes
2answers
226 views

SOAP API: <faultcode>UNKNOWN_EXCEPTION</faultcode>

I'm trying to authenticate via the SOAP API. I ported my code form a python script that worked perfectly. When I try to implement in JS (Google App Script specifically), I get an "Unknown Server ...
1
vote
0answers
44 views

Can you log out a user from multiple domains ? (expire all sessions)

Our customer portal is available in multiple languages, all of them have their own domain and allow the user to switch languages. Currently, when a user logs out, we take the user to ...
0
votes
1answer
50 views

Why i am getting client certificate error?

I tried to open URL with mutual authentication for 8443 but I am getting client certificate error.I need to clarify why this happening, Can any one tell me what is the issue. PFA..
2
votes
1answer
52 views

MobileSDK Native iOS - Check if user is admin or not

I'm working on a native iOS app using the MobileSDK. My app defers the login, that is, it does not occur right at the beginning of the app. From the home screen, users can tap either an "Employee" or ...
0
votes
0answers
37 views

Authentication between Salesforce and another website

i have a question regarding mutual authentication between Salesforce and another website. My client currently using Salesforce Communities for its customers. He also has a website for different ...
1
vote
1answer
117 views

Why does sf's internal IdP reject attempts to perform service-provider-initiated connected app authentication

I am trying to integrate the SAML 2.0 infrastructure on my web app with the internal identity provider built in to Salesforce. I am having no problems with IdP-initiated authentication. That is, if I ...
2
votes
0answers
88 views

Salesforce Notification through reverse proxy

I am an integration developer working with a Salesforce.com developer. He is using the Notification functionality 'push' a message using SOAP to our integration platform when an object changes. ...
1
vote
1answer
209 views

Accessing Named Credentials' data in apex

Is there a way of accessing the data (exact fields) stored in Spring 15' Named Credentials from apex? For example the username, password and endpoint link fields? And I don't mean for the callout, but ...
1
vote
0answers
32 views

SFMC authentication, does the offline token work for all accounts?

we need your help if possible. We have been using the offline token successfully to authenticate & refresh our token for our Hub Exchange app. This allows us to access the client's account when ...
0
votes
1answer
61 views

External User Authentication without Communities

My non-profit organization currently uses Salesforce mostly to keep track of all kinds of data about our "customers." However, at the moment all of this data is having to be filled out and updated ...
1
vote
1answer
115 views

Oauth2.0 web server authentication flow using python

I have seen several python implementations of oauth2.0 username-password flow to authenticate to salesforce. There are also several python libraries which offer this flow. But is there a python ...
2
votes
1answer
46 views

how to get username from organization id?

I have a couple of org which I used before and started getting Developer script exception emails every 10 minutes from the schedule I set up. I don't remember what I used to login to this org but know ...
3
votes
1answer
295 views

Salesforce REST API authentication?

I feel like this should be really easy to do, but I can't find anything about it on the web. Is there a way, through either javascript or a java web servlet, to skip the subsequent authentication? We ...
0
votes
0answers
49 views

Difference between login with node.js library

I'm exploring some libraries to connect node.js with SFDC. I've found nforce and jsforce (Have tried only the first, actually). Reading the documentation, for the first one I have to set up a ...
1
vote
2answers
43 views

Using a different Profile between SSO connected orgs

I have a question about multiple connected Salesforce orgs via SSO. Is there a way to change the profile access for a user between multiple connected orgs through SSO? I have a scenario where Org1 is ...
2
votes
2answers
54 views

Connected App OAuth scopes settings have no effect

I have a Connected App in Org A, which is used to let their users log into Community B in Org B. The registration handler works fine, but only the OAuth scopes inside the Connected App are not ...
1
vote
2answers
110 views

user authentication authorization community cloud force.com sites

How does user management (authentication / authorization) work when we expose a visualforce page and apex code including controller etc. to community users using public sites, force.com sites.
0
votes
1answer
239 views

ExactTarget PHP FuelSDK with Sandbox Account: Unable to Auth

I simply cannot seem to get authenticated. I've copied/pasted the ID and secret. No go. Fatal error: Uncaught exception 'Exception' with message 'Unable to validate App Keys(ClientID/ClientSecret) ...
10
votes
3answers
775 views

How does lighting authentication work?

I'm new to Salesforce. But I have quite experience with modern SPA frameworks (angular and mean stack). I'm experimenting a bit with Lighting framework (=aura components). How does the ...
0
votes
1answer
145 views

Force.com Sites, how do I get login credentials for a page

I have created a visualforce page for a force.com site. I want to have authentication using the standard force.com sitelogin visualforce page. What credentials are used to get into the site? I want ...
2
votes
1answer
51 views

How can I post a new lead with a fully back end solution?

I'm completely new to Salesforce, but this seems like a normal usage case but I can't seem to understand how this might work by reading their docs. I have a website that has a form that people can ...
0
votes
0answers
28 views

Issues on integrating with Salesforce Site

Our implementation includes integration from an external server which tries to make a HTTPs request to a Visualforce page hosted on a site in salesforce.This requests includes certain header ...
0
votes
0answers
187 views

canvas auth error in salesforce1 mobile and oauth not providing refresh_token

I extended a Managed Connected App with the "Force.com Canvas" functionality using OAuth 2 authentication. By enabling Canvas we want to integrate our functionality into the SF1 Mobile app in ...