Questions tagged [authentication]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
22 views

Ask Authentication/Creds on Save(OOTB)

Can we have any mechanism/configuration, which will trigger authentication OOTB for sensitive object update? What is the best way to achieve the same in Salesforce? This should ask authentication of ...
3
votes
0answers
99 views

Debugging AuthProvider

I am now working on an implementation of an external authentication for SF. I am following this guide and so far I was able to define and set up the initiate() method and redirect to the correct URL. ...
0
votes
0answers
14 views

How to Login using Salesforce Customer community user credentials from Third Party Mobile Application [duplicate]

Our Client have Salesforce Customer Community License and have customer community in place. They have developed Third Party mobile application (Not SalesforceA) for Android and Apple devices. ...
1
vote
0answers
28 views

Authentication via SFDC to “Approve” a record - Secure method needed [closed]

I have a unique requirement to build and am having trouble with the method to use to meet it. Working with a science lab that wants the ability to soft lock a record (via Validation Rule) that ...
1
vote
1answer
264 views

Using curl to make a REST API call

I need to call a rest API service in Saleforce from an external client. This application logins in Salesforce with the SOAP standard login service and then has to call some custom services. The ...
0
votes
0answers
55 views

Salesforce Connect with Cross-Org Adapter: This session is not valid for use with the REST API

I am using Salesforce Connect with a cross-org adapter to connect two orgs. I have configured the external data source with oAuth and an Authentication Provider. The data source was successfully ...
0
votes
0answers
22 views

How can i returned access token for partner community user (external user) from connected app? [duplicate]

In my organization i have two users(Salesforce license user, Partner Community license user ). Here i am accessed over a connected app using postman. The access token is returned for Salesforce ...
0
votes
1answer
617 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
1answer
33 views

Auth Token - Can we extend the expiry period?

The auth token used for triggered sends (generated via this URL https://auth.exacttargetapis.com/v1/requestToken) expires after 60 minutes. Is it possible to change the expiry period? We'd like to ...
0
votes
1answer
93 views

“ Invalid_grant : authentication error” loggin in workbench

I got this error loggin in workbench, after setting up a scratch org (it shows a strange custom domain but I red around forums that it's ok since it can be an old unused org). I went through the ...
0
votes
0answers
83 views

Authenticate Custom Content Block via SFMC

I have Custom Content Block which is a Node.js App hosted on Heroku Cloud. I want my Custom App to be available for usage only to the users of my SFMC Platform. I have looked for the Marketing Cloud ...
0
votes
1answer
382 views

Intermittent JWT Authentication Failure

I just spun up a new sandbox (couple of hours old) and I am trying to setup a CI/CD process using BitBucket Pipelines and sfdx. When I run the force:auth:jwt:grant command with hardcoded values (i.e. ...
1
vote
1answer
139 views

SSO and User Provisioning From External WebApp into Salesforce Community

Scenario - customer is logged into our web app, they click on create a ticket and are redirected to the salesforce community page as a user in salesforce with the same email as the web app, want to ...
0
votes
1answer
50 views

Can I setup two-factor authentication for mobile only

We have everything we need as far as authentication using a third party application. BUT if I relax IP restrictions for mobile, am I able to set up two-factor authentication through Salesforce only ...
4
votes
1answer
90 views

Redirecting to MyDomain URL

We set up SSO with Auth.Provider in Salesforce. We deployed My Domain and linked the auth provider to it. When a user navigates to the My Domain URL, they are automatically redirected to the auth ...
0
votes
1answer
380 views

oauth infinite redirect loop during authorization

This problem has occurred in a few of our applications that use the same forms of salesforce oauth authentication. When you first navigate to mywebsite.com, it sends you to salesforce to login, once ...
0
votes
1answer
248 views

How to Make Pardot Authorisation Request?

I have a training org where I'm making API callouts for authorise to the Pardot environement, but recieving the error :- Error Code :- 49 Error :- Access Denied, The details of the API url which I'm ...
1
vote
0answers
39 views

Error using inline Embedded Login

I have a SFDC Community, which has its own Visualforce login page. I have another application running in a cloud host, and I'm trying to use embedded login to authenticate in my community in this ...
1
vote
1answer
81 views

Call Center - Open CTI auth

I'm new to call center so maybe this is a basic question or not very well explained. We have a third party company that needs to use the Open CTI API and connect there System to Salesforce. I gave ...
0
votes
1answer
74 views

Named credentials with POST, url-encoded body and custom grant type for Token generation

Can we use Named credentials against 3rd party with following parameters requirements, which helps us to have access token: Endpoint Method - POST URL encoded body which has following Grant type = ...
0
votes
0answers
28 views

SendGrid - how to authenticate calls to Salesforce [duplicate]

We are integrating Sengrid and Salesforce. SF creates the email and SendGrid sends it. We want to record the delivery status (sent, delivered, opened,..) in SF by updating the EmailMessage object. To ...
0
votes
0answers
29 views

Authenticate to send a GET request to a lighting page [duplicate]

i would like to ask if it is possible to get a token that allows you to receive the html of a lightning or visualforce page given the url. The REST api token doesnt seem to work. For example get the /...
2
votes
1answer
47 views

How can be personalised the standard login/authentication process of salesforce?

I'm trying to understand if is possible to override the standard login/authentication processo of salesforce. I need to add custom logic when is triggered the login/authentication process of ...
0
votes
0answers
30 views

Authenticate 3rd party in Salesforce [duplicate]

I have my server in Ruby on Rails. Now I wanted to build an app in the salesforce that will authenticate with my server using auth2.0. All org who have installed my app will have access to their ...
0
votes
0answers
17 views

Connect external application with my Salesforce app

We are developing an external application which will connect to a Salesforce app (also being developed by us) for data integration. Now this Salesforce app can be installed by any organization, so I ...
1
vote
0answers
82 views

Authenticate Community Users in External Rest API

I have a Community that consumes an external Rest API that requires authentication. For testing purpose, I hardcoded a username and a password in my apex rest callouts in order to be able to consume ...
1
vote
2answers
81 views

TouchId, FaceId login for mobile Apps

One customer is asking for having the Mobile App authentication for External users sites using Communities with FaceId and TouchId, I have tried "Implementing Screen Locking and PIN protection" in the ...
6
votes
1answer
427 views

Testing Community “Passwordless Login” using the System.UserManagement Class

I am using the UserManagement class to register and login users with just their Email or Phone Number, which I have managed to get working very nicely... I have now also built a small LWC to allow ...
2
votes
1answer
261 views

Prevent Redirect to Login on Salesforce Community External URL

We have a custom PUBLIC community with a signup form. This community does not require login as the point is for the user to sign up. In this signup form, we have built a lightning component+vf page to ...
0
votes
0answers
61 views

AuthConfiguration getSamlSsoUrl method return link doesn't work

So I have the method getSamlSsoUrl(communityUrl, startURL, samlId) from the class AuthConfiguration and returned a very long url with saml id, saml acs, saml binding type, and etc in the url. However,...
0
votes
1answer
44 views

Authenticate Calls made to Salesforce webservice [duplicate]

I am using this exact example from trailhead https://trailhead.salesforce.com/en/content/learn/modules/apex_integration_services/apex_integration_webservices @RestResource(urlMapping='/Cases/*') ...
0
votes
1answer
67 views

How to send authorization to web app using Rest API [closed]

This is my first time working with API and I'm trying to understand how to send authentication to an web app using REST API. Questions I have: Do I need to setup Oauth in Salesforce in order to ...
0
votes
1answer
113 views

How could I identify when a user does an operation through data loader? [duplicate]

In our org, we are trying to block some triggers when an account is being updated through data loader. Our strategy was to get the logginHistoryId with getCurrentSession method from the ...
0
votes
3answers
226 views

Unable to login using Frontdoor.jsp

I have a usecase where I need to enable internal users to login to Salesforce using a branded login page. We have built this login page(html) in our website using Angular.js with its own custom ...
2
votes
1answer
220 views

ERROR running force:auth:jwt:grant: Destination URL not reset. The URL returned from login must be set

I'm trying to setup CI/CD with Jenkins for the first time. I already have a valid script running in Bitbucket Pipelines, but now we need to move to the client provided Jenkins server. This is my ...
2
votes
1answer
1k views

What is “Sfdx Auth Url” attribute used for?

Till now, I have been working with SFDX orgs using JWT cert based auth auth:jwt:grantor authenticating using browser using auth:web:login I recently came across the --verbose attribute which gives ...
0
votes
1answer
48 views

Can we avoid navigating to Azure Ad login screen when we configure SSO with Azure AD as ID provider

I have to configure Single Sign using Azure AD for our salesforce community as Identity provider and Salesforce being the service provider, I want to use Open id Connect. I want check with the forum ...
2
votes
1answer
406 views

Pardot authentication api not working with correct username and password

I'm having trouble getting the pardot authentication API (v4) working. After triple checking I'm sure I'm using the correct credentials. Making a POST to https://pi.pardot.com/api/login/version/4?...
0
votes
1answer
175 views

How 3rd party should authenticate with custom Apex REST API [closed]

When using @RestResource to create a custom REST API which is exposed externally using a public site. How should the third party service (ESB) authenticate with Salesforce so that it can use the ...
2
votes
3answers
299 views

What method to use in a batch apex in order to get authentication token from a remote server?

I have a batch class that uses query locator to send data into the client's server. however, it must first authenticate and get access token and send that along with the data with all consecutive post ...
1
vote
1answer
241 views

Decode JWT received from /v2/authorize

I'm developing an app for SalesForce Marketing cloud. For the authentication I have a web page loaded as iframe in the salesforce mc; in this page the customer performs the login to my platform. ...
4
votes
1answer
126 views

Is OAuth 2.0 User-Agent Flow truly an Implicit Grant Type?

Is the Salesforce User-Agent Flow truly an "Implicit" grant type? It can most definitely issue a refresh token. And yet per RFC 6749 Section 4.2 Implicit Grant documentation... The implicit grant ...
0
votes
0answers
73 views

Auth Provider for Trello?

I've spent too many hours today trying to set up an Auth Provider + Named Credential for Trello's auth flow... I guess my question is, for those who have dealt with Auth Providers in SFDC, is this ...
1
vote
1answer
212 views

JWT Authentication in salesforce

I am trying to log in another user in my same org using below code. String username = 'test1@salesforce.com'; String jwtVal = '*****'; String tokenEndPoint = System.URL.getSalesforceBaseURL()....
3
votes
1answer
308 views

Apex callout to an OpenID Connect endpoint protected by PKCE code challenge

I'm trying to write Apex code that'll call an external API. The API is using OpenID Connect for authentication, meaning I'll have to first give consent in order to get an authorization code, then ...
12
votes
3answers
3k views

Mavensmate: Getting error client identifier invalid while authentication to salesforce

I use Mavensmate, Since morning it is throwing me an error "client identifier invalid" while refreshing or saving any component (Apex Class, Trigger or any) to Salesforce from Sublime. When I try to ...
4
votes
1answer
164 views

Determine whether running user is logged in from within Trusted IP Range (from Apex)

I am creating a Login Flow that invokes Apex to do some processing, and need to determine whether the running (logging-in) user is connecting from an IP address whitelisted in our org's Trusted IP ...
0
votes
1answer
97 views

Native Android/iOS Authentication with Authenticated Site/Customer Portal

I am working on integrating a native android and iOS project into a Salesforce environment. We have successfully ran the forcedroid and forceios commands to get functioning projects and have been able ...
0
votes
1answer
131 views

Login Discovery page— Need to provide userId twice for login

i have implemented login discovery page which will ask to enter ferdation id and once fedrationid enters it will redirect to perticular flow. Question here is when i am entering the fedrationId and ...
2
votes
1answer
229 views

How to get the public key in form of JWS Key set

I have a JWT Class which generates JWT Token using Private key. Now, I need to expose an endpoint for exernal application to get the public key in the form of JWKS KeySet. Can anyone guide me how to ...

1
2
3 4 5
10