

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

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.
↓
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.

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.

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.


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