Questions tagged [auth]

referring to authentication, the process of user authentication within a secure application

Filter by
Sorted by
Tagged with
0
votes
1answer
11 views

Get the sfdc_networkid when logging in for the first time via Custom External Auth Provider

I have a custom Auth Provider (Apex class extending Auth.AuthProviderPluginClass). I also have a generated Auth.RegistrationHandler. In the sample code there is a line like so: if(data.attributeMap....
0
votes
0answers
42 views

Apex web service rest with auth0

I want to give the possibility to our customers stored in salescloud to modify their information. For that, I will develop an apex web service rest api. Is it possible to use auth0 as identity ...
0
votes
0answers
16 views

Get an acess token for a Digital Experience Site

Is there a way to get a user automatically logged in to a Community being redirected from an external site? More context: I need to incorporate B2B Commerce Site to an external application. I used ...
3
votes
3answers
490 views

sfdx force:auth:web:login – how to get it to work under Linux Mint?

Can't connect any org under Linux Mint via sfdx force:auth:web:login Neither via sfdx force:auth:web:login -r https://test.salesforce.com -a foo nor sfdx force:auth:web:login -r https://foo.my....
0
votes
0answers
115 views

How to implement a Facebook login with LWC?

I am building a solution that lets users access their data on Facebook (like Pages/Ads/Feeds etc). For this, we need to let the users login to their Facebook account while they are in Salesforce (from ...
0
votes
0answers
36 views

Custom Merge Field Named Credential Apex

I am integrating with GoToWebinar using a Named Credential to make Apex Callouts. While the Authentication piece is working well, during the Callback to get the access token, there are some additional ...
0
votes
1answer
576 views

OAUTH_APP_BLOCKED | this app is blocked by admin

I am trying to integrate http://salesloft.com/ with my salesforce production instance via OAUTH. When I try to login to production using my valid credentials (I an system admin), salesloft see ...
0
votes
0answers
214 views

AuthToken.getAccessToken()'s return value is NULL

Implementing SSO with Okta and need to access to retrieve Okta's userinfo with access token.Tried the following code to retrieve access token in Auth.RegistrationHandler's createUser method but the ...
0
votes
1answer
633 views

Create own social login page with lightning component

I did Auth Provider and built the community with experience builder. Login page has username, password and social sign on button with experience builder page but I need to change the layout out and ...
2
votes
3answers
213 views

Determine if authorized org with SalesforceDX is Developer or Production

I'm struggling to determine the type of environment of authorized orgs using the SalesforceDX auth commands. Once you've registered an org if you run sfdx force:org:list --json The output results ...
0
votes
1answer
189 views

How Do I Send an HTTP POST API Call Through a Script Activity Using Basic Auth?

I have seen a few posts about how this can be done using oauth, but I need to use basic auth and I can't seem to get it to work. Below is an example of the code I'm using. <script type="javascript"...
2
votes
0answers
36 views

Url Validation using Restforce [closed]

I have my app in ruby on rails. I am using restforce for all communication with Salesforce. After authentication we save user url and access token. But there were some cases where customers changed ...
0
votes
1answer
745 views

c# .NET Example of using JWT OAUTH flow with salesforce

Does anyone have an example of the JWT oauth implementation in c#? Thanks https://help.salesforce.com/articleView?id=remoteaccess_oauth_jwt_flow.htm&type=5
0
votes
0answers
131 views

SAML authentication flow, do not require user to click “Log in with <sso idp option>”

I am setting up a client with a SAML IdP and SP for their site, and one of their partners now needs to tie into this system. They use force.com to do so. We have SSO working as described in this doc: ...
3
votes
3answers
3k views

Oauth 2.0 Client Credentials - Custom Auth Provider

I am building out a Salesforce Connect customer adapter to translate rest responses into external data objects. To authenticate these requests, I would like to use Oauth 2.0's client credentials flow ...
7
votes
0answers
392 views

What is the proper approach for deploying custom Auth. Provider in Salesforce DX?

I have a custom Auth. Provider and a couple of Named Credential which use it. The auth. provider metadata requires "Execute As" field which is represented as username in metadata and as you know, ...
1
vote
0answers
45 views

LinkedIn Authdata JSON Parsing Issue

We have enabled LinkedIn registration and Signin for our community users. While providing the User Info Endpoint URL for creating the Auth Provider in Salesforce, we specified the following to get ...
3
votes
1answer
194 views

Writable External Objects between 2 salesforce Org

I am working on a requirement in which I need to write on some external object between 2 salesforce org. I have tried to use the s2s connect but they are not working as Writable external objects aren’...
2
votes
0answers
160 views

Payment (Payment Connect) records are not getting created in Sandbox

We are using Payment connect to process and manage credit card payments. Recently we did sandbox refresh from Production and after that the Payment records are not getting created in Sandbox but are ...
1
vote
1answer
631 views

Viewing sharepoint documnets in Salesforce using Files Connect

I want to view my Sharepoint documnets in salesforce using "File Connect" introduced in Winter15 release for connecting to External Data source but i am facing a problem to connect to sharepoint. I ...
2
votes
1answer
1k views

Exact Target Rest Auth API

I'm trying to call the exact target auth api for the first time. I'm getting a 407 Proxy Authentication Required. Can you please let me know where I'm going wrong. I'm using the following call ...
3
votes
0answers
1k views

Auth Provider : AuthorizationError?ErrorCode=NO_ACCESS&ErrorDescription=User+was+a+portal+user

I would like to ask you about Auth Provider: I have a Registration Handler in a DE org linked to my Auth provider, it is working correctly and allowing the external users to register. Now I decided ...
5
votes
1answer
2k 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 ...