Questions tagged [auth]
referring to authentication, the process of user authentication within a secure application
32 questions
2
votes
1
answer
46
views
Why do we need Connected App ClientId and ClientSecret to get token for Username And Password flow, but those are not required for SOAP login?
Why do we need Connected App ClientId and ClientSecret to get token for Username And Password flow, but those are not required for SOAP login?
Which are the uses cases to use the first over the second ...
0
votes
0
answers
348
views
We can’t log you in because of the following error. Remote_Error: The remote service returned an error
I have a strange case. I have custom Auth Provider, trying to authorize named credential and getting:
Problem Logging In
We can’t log you in because of the following error. For more information, ...
-1
votes
2
answers
189
views
Authorize Application Like Workbench
I want to create an application that integrates to Salesforce - just like Workbench (https://workbench.developerforce.com/login.php).
Every single guide I find wants be to create a connected app. Isn'...
0
votes
0
answers
320
views
Auth API calls resulting in 400 bad requests when POSTing multipart/form-data payloads with SSJS
I'm trying to make Auth API calls to an external API Endpoint from Marketing Cloud using SSJS or AMPScript but I am getting 400 bad request errors for these calls. In talks with a contact from the ...
1
vote
2
answers
798
views
How can I quickly fetch or grab sfdx auth url?
I want to know my sfdx auth url to transfer it to another machine or use as Github Secret key. I have about 10+ different Developer Edition, Sandboxes and Devhub environments which I need in my CI/CD ...
0
votes
1
answer
521
views
Argument cannot be null error in LWC when logging in to a Site
HTML:
<template>
<lightning-card class="slds-var-p-around_medium">
<div class="slds-grid slds-grid_vertical">
<!--Logo/baranding-->
<...
1
vote
1
answer
794
views
Authentication using sfdxAuthUrl
Trying to authenticate via file, I was running into this error:
{
"status": 1,
"name": "Syntax",
"message": "./authFile.json: Unexpected token � in ...
0
votes
1
answer
707
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 ...
1
vote
0
answers
135
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 ...
3
votes
2
answers
7k
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.
...
2
votes
2
answers
12k
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 ...
0
votes
1
answer
389
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
0
answers
169
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 ...
4
votes
2
answers
5k
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
0
answers
533
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
0
answers
194
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
1
answer
4k
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
1
answer
2k
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
3
answers
443
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 ...
1
vote
1
answer
1k
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
0
answers
43
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 ...
1
vote
1
answer
3k
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
0
answers
303
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:
...
6
votes
3
answers
6k
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 ...
9
votes
1
answer
863
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
0
answers
64
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
1
answer
279
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
0
answers
231
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
1
answer
710
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
1
answer
2k
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
0
answers
3k
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
1
answer
3k
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 ...