Web Service

How to solve experience site login issue on Salesforce Sandbox

Share this for your friends.

How to solve experience site login issue on Salesforce Sandbox

Salesforce experience site...
When I try to check in the Sandbox environment, I'm asked to log in and authenticate many times and I can't reach the home screen at all.


Salesforce is a CRM (customer management system) and a web service used all over the world.

Although it is a web service, it has a certain degree of customizability, and many companies use it for purposes other than sales.


And Salesforce has "Experience Site" as a function to create a website.

It is a function that allows you to build a portal site for internal and external use, and you can also use Salesforce data.

It's a pretty useful feature, but there are times when you can't login to the experience site even if you want to.

Even if you try to log in to the Sandbox experience site created from the production environment, it will loop and you will not be able to log in.

Why can't we log in to the experience site?

Therefore, today, I will introduce about "How to solve experience site login issue on Salesforce Sandbox".

Author


Mid-carieer engineer (AI, system). Good at Python and SQL.

Advantage to read

You can understand "How to solve experience site login issue on Salesforce Sandbox". Then you don't worry if you fail to log in.


Experience site login issue on Salesforce Sandbox

First, let's talk about the experience site looping in the Salesforce sandbox environment and not being able to log in.


The phenomenon is as follows.

Create a sandbox environment based on a production environment that already has an experience site running

Access the experience site URL with a web browser

A login screen will appear

Enter your username and password

Allow login to smartphone with multi-factor authentication

A login screen will appear again.


Create a sandbox environment, access the URL of the experience site in the sandbox environment, and login screen appears.

However, returns to the login screen even after a successful login.

It is very strange.

I still understand if "login ID and password are different", but it seems that the ID and password match because multi-factor authentication has been advanced. . .


Why is this happening and how do I log in?



The reason why the experience site login issue on Salesforce Sandbox

What is the cause of the experience site where you cannot log in in the sandbox environment?


The cause is "Publish Settings".

In fact, even if you create a sandbox from a production environment that has a published experience site, the experience site on the sandbox side is not published.

So you can solve the login loop phenomenon by setting public setting from the experience site builder.


It was easier than I thought.


For reference, although it is not the same phenomenon, I will give an example of help around login and public settings.



Conclusion

This time, I explained about "How to solve experience site login issue on Salesforce Sandbox".


The reason why the experience site loops in the sandbox environment and you cannot log in is ``because it is not published''**.

Immediately after creating the environment, the experience site is not set to public, so let's publish it from the builder screen.

I stumbled a bit...
At least, if unpublished experience site shows "404 error" instead of "login", I could noticed that the root cause was public setting...


There are other Salesforce-related articles as well, if you're interested, check them out.


Share this for your friends.

If you felt this article is useful, please share.

にほんブログ村 IT技術ブログへ

-Web Service
-,

© 2023 ITips