Skip to main content
그룹

Salesforce Identity

Find resources on Salesforce Identity, discuss use cases/issues, and ask questions on Identity and Access Management (IAM) topics including login, 2-factor authentication, Active Directory integration, mobile authentication, single sign-on (SSO), social sign-on, App Launcher, user provisioning into Salesforce, and standards support of SAML, OAUTH, OpenID Connect.

Hi All,

 

I am trying to install Identity connect on a windows server 2019. I am facing some issues during setup.bat execution.

It is more related to PostGreSQL connection, but I am not sure what is causing the failure. When I did it on my personal laptop it worked fine, no issues were there.

Below is the error details. Any help on this would be appreciated.

Identity connect Installation failed on Windows 2019 Server

 

@Samuel Rosen

답변 2개
  1. 2022년 3월 8일 오후 9:08

    Thank you Keiji for your response, however we have figured it out why it was failing. 

    We were doing the entire process which is extracting zip file and running setup.bat with admin rights and that was causing the issue.

    Solution - when we did all the above steps with local user without admin rights then it worked.

0/9000

We are trying to setup the external credential authorization for an app Fenergo (This uses OAuth2.0). The callback URL has been configured on the app side as well.  

However when we try to Authorize the external credential and get redirected to the app and try to Allow Access, it throws an error  regarding Existing Link. 

We have tried reconfiguring the from scratch but still to no avail. 

 

Has anyone experienced this error before and how can we reset salesforce sandbox if there is any caching that is causing this? 

Salesforce Authorization error - AuthorizationError?ErrorCode=Existing_link&startURL=%2F0puQy0000007cGg

답변 1개
  1. 4월 20일 오후 10:02

    I encountered this today and after a few hours of frustration, did solve this. What worked for me - 

    - our org uses a Permission Set for the External Credential Principal Access, which is auto-applied to ~15 Permission Set Groups. I'm not sure we fully let those PSGs recalculate after updating this Permission Set.  

    - our org was having an issue with storage. I don't know why that would impact this, but maybe Salesforce is crippling the org on refresh? Concurrently, the storage issue was fixed in PROD and after matching our full-copy org with the PROD licenses, a little while later this was fixed. 

    - the real item - get into Workbench and use the Utilities > REST Explorer, run this:  /services/data/v62.0/tooling/query/?q=SELECT+Id,ExternalCredentialId,ParameterName,ParameterType+FROM+ExternalCredentialParameter. In my org, that returned 3 rows (which I can't actually explain). I deleted them, again using REST Explorer, re-created the Principal in my External Credential, re-added that to a single Permission Set that I didn't add to the PSGs (only my own User), then was able to successfully auth the Principal. We then added the new PS to the relevant PSGs. 

0/9000

Hi @Salesforce Identity 

 

How do I re-authentication third party auth provider after revoke auth provider's account from Third-Party Account Links related list of user object and how can I control permission to revoke auth provider's account at Third-Party Account Links related list of user object?

댓글 4개
0/9000

Regarding the upcoming change "Device Activation for certain Single Sign-On (SSO) user logins" - we have SAML SSO with Azure Entra Id. Azure by default sets AuthnContext to "unspecified" unless SP explicitly requests a specific AuthnContext. How can we set Salesforce to request for example "mfa"?

답변 1개
  1. 1월 18일 오후 2:32

    You can’t control this from Salesforce. Salesforce doesn’t let you set or customize the AuthnContextClassRef in the SAML request, so it will keep sending a generic/unspecified context. 

     

    The way this is meant to work is enforcing MFA on the Entra ID side. Use Conditional Access to require MFA for the Salesforce app, regardless of what AuthnContext Salesforce requests. Salesforce will accept the assertion even if AuthnContext is unspecified. So if you’re trying to influence Device Activation by requesting mfa from Salesforce, that isn’t supported today - IdP-side enforcement is the correct approach.

0/9000

Hi, I am trying to implement custom registration page with email verification for our experience site, but when I am trying to initiate verification I am getting 'System.NoAccessException : Unable to generate security token'. Can you help me here  to find out what permission I am missing here? #*ExperienceCloudShowMeHow #Self Registration #Salesforce Identity

답변 2개
  1. 2025년 12월 11일 오후 3:47

    For anyone that might come across this issue in the future, I discovered that this error was presented if the email address of the user being registered was sent 5 or more verifications within the last hour. Though, there may be other reasons for the System.NoAccessException in the context of the UserManagement.initSelfRegistration

    method.  

     

    In my case, I was developing and testing a custom login flow, and I sent many verification requests to the same email address within a short period using the

    UserManagement.initSelfRegistration

    method. Waiting for over an hour resolved the issue, and I was able to resume testing with the email address. Also, using a different email address worked.  

     

    Salesforce specifies here,

    System Verification Codes Not Received for Salesforce, that "Salesforce has a limit of 5 email verification codes per hour"

0/9000

It's possible to create a "Packaged" ECA and use this directly in the org it's created in and its sandboxes, i.e. never actually packaging this. 

 

QUESTION: Is this officially supported approach, or any reason not to do this? 

 

It seems very helpful because:

  • The distribution state of "packaged" means this app cascades to sandboxes
  • It has benefits over a connected app because the policies (e.g. preauthorised users) exist in the sandbox but are applied for the same client credentials used in production
  • There's no pacakging overhead

But it's weird to create a "packaged" app which will never be packaged! Could behaviours supporting this workflow change in future or is it OK to roll out apps to be used in this way? 

 

Would be great to hear a steer from Salesforce identity folks if possible. Thank you!! 

답변 1개
  1. 2025년 12월 4일 오전 8:44

    Yeah, you can totally do that and it works fine today, but it’s kind of an “unofficial” side effect rather than a documented best practice. Since Salesforce doesn’t explicitly say this is supported long-term, there’s always a small risk they change how packaged ECAs behave across sandboxes. If you go this route, just be ready to adjust later or keep an alternative plan using a standard connected app.

0/9000

We are using salesforce as an IDP for multiple external sites

 

The scenario is : 

  1. I am on the first external site, I try to log in 
  2. The site redirect me to Salesforce (via OIDC) to log in
  3. I perform the login at the salesforce level (in a salesforce site with a custom domain like : myCustomDoamin.force.com)
  4. I am redirected back to my site authenticated 
  5. --------------second part-----------------
  6. I am on the second site, I try to log in 
  7. The site redirect me to Salesforce (via SAML) to log in
  8. I am not logged in in Salesforce, hence I have to re-login at the salesforce level again (in a salesfoce site with a custom domain like : myCustom-Domain.com)

Question : is there any limitation regarding Sites custom domain and SSO ? 

 

Thanks in advance,

답변 1개
  1. 2024년 1월 1일 오후 5:54

    Hello @Oumaïma MITA Salesforce sessions works on the basis of domain name. So, if you have two sites with two different custom domains, then you should authenticate twice. This is not limitation this is how sessions are managed across salesforce platform. Thank you!

0/9000

Hello,

 

We are looking to allow customers to link their social accounts and then use them for SSO authentication.

 

We've setup a flow using Auth Providers and are stuck with this page, that we can not brand / customize: LinkAuthorizationPageIs it possible to customise LinkAuthorizationPage?

Are we missing something? Can we replace it somewhere with LWC / VF / Aura? Or we have to move away from Auth. Providers and implement the flow manually to customise this? 

 

Thanks!

답변 7개
  1. Jonathan Fox (Cooper Parry) Forum Ambassador
    2025년 11월 14일 오후 2:51

    Hey @Scott Reeser

     

     

    I'm looking to do exactly what you and

    @Nazim Aliyev are discussing.  Was this the correct way in the end? @George Abboud is that how Salesforce did it?

0/9000

Hello 

 

I am trying to create a unified login experience for community users and have set up an openid auth provider.  After navingating to url i successfully go to idp login page, then click 'allow' to grant salesforce access, then get that error "We can't log you in because of an authentication error" (ErrorCode=No_Oauth_Token&ErrorDescription=Empty+Response).  

The idp team checked the metrics at their end  and mentioned that it seems to fail after they pass back to us with authorization code but before it is exchanged.  

 

What is missing, and what logs or details can i check to figure this out? 

답변 4개
  1. 2025년 10월 8일 오전 4:08

    Hi Suminder,

    Postman to IDP is a free call without any constraints. So that would work. This states that systems are up and running from IDP.

    How did you configure the creds? I assume its through external credentials. Make sure you have proper scope added to initiate authentication.

    Do you use any connected app approach here? If yes make sure to have clear scope here. Have you checked the network logs as well?

    Thanks

0/9000

Hello, 

I am trying to understand  the passwordless login  process for community users, 

allowing them to connect with an OTP received by SMS or email. 

 

I looked at many of the Salesforce pages / documentation  but i am lost. 

Is an experience cloud  site running considered a public or private client ?  

 

Is there any article available on the net explaining the process / constraint ? 

 

Regards 

Jerome

답변 3개
  1. 2025년 9월 16일 오후 6:11

    Hi @Adishesh Mishra - We are exploring implementing "Passwordless Login" now. Do you know of anyone that has done this before?  Any higher ed institution (or) even outside of a higher ed organization - any company?

0/9000