Questions tagged [auth]

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

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

Initiate U2F Verification Method internally

How can we initiate the auth verification internally through Apex for U2F like we can do for PASSWORD, TOTP, SF_AUTHENTICATOR?
user avatar
0 votes
1 answer
66 views

Get access token during Auth Registration Handler(Auth. Provider)

We are using Auth. Provider for single-sign on with our product platform. But we need to do a separate call to get other information in Auth.RegistrationHandler but we need get access token that is ...
user avatar
1 vote
0 answers
43 views

We have recently migrated to govcloud+ and no longer able to authenticate to scratch org using jwt from devhub as part of our CI

Below is our auth approach into scrath orgs to allow us to login and serve them as part of a "scratch-org-pool-service". export SFDX_AUDIENCE_URL="https://test.salesforce.com" echo ...
user avatar
0 votes
1 answer
194 views

What is the difference between UserInfo session Id and Auth session Id?

I have come across these two ways to retrieve session Id in salesforce via Apex. I noticed Auth session Id not available in async or test classes but UserInfo session Id available all the time. ...
user avatar
0 votes
1 answer
574 views

Why would SSO stop working : malformed_certificate

SSO was working fine, next day it stopped working: (been working for 7+ years) I get this Google Error: That’s an error. Error: malformed_certificate Error while signing data with certificate 7 ...
user avatar
0 votes
1 answer
76 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....
user avatar
  • 1,608
0 votes
0 answers
68 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 ...
user avatar
  • 1
3 votes
3 answers
1k 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....
user avatar
  • 171
0 votes
0 answers
252 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 ...
user avatar
0 votes
0 answers
70 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 ...
user avatar
0 votes
1 answer
1k 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 ...
user avatar
0 votes
0 answers
381 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 ...
user avatar
  • 105
0 votes
1 answer
1k 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 ...
user avatar
  • 105
2 votes
3 answers
280 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 ...
user avatar
1 vote
1 answer
385 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"...
user avatar
  • 143
2 votes
0 answers
39 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 ...
user avatar
0 votes
1 answer
2k 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
user avatar
  • 1
0 votes
0 answers
157 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: ...
user avatar
5 votes
3 answers
4k 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 ...
user avatar
  • 1,838
7 votes
0 answers
527 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, ...
user avatar
1 vote
0 answers
47 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 ...
user avatar
  • 1,744
3 votes
1 answer
203 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’...
user avatar
  • 2,493
2 votes
0 answers
188 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 ...
user avatar
1 vote
1 answer
652 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 ...
user avatar
2 votes
1 answer
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 ...
user avatar
3 votes
0 answers
2k 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 ...
user avatar
  • 1,101
5 votes
1 answer
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 ...
user avatar
  • 525