Access denied error - Session expired or invalid

Overview

You are trying to log into Skedulo but you are unable and receive the following message:

“Houston we have a problem — An unexpected error happened, you will be redirected back to the login page in 10 seconds. Error: access_denied… “Session expired or invalid.”

What’s happening?

One possibility—in Salesforce, it is possible for admins to configure the organizations Session Settings:

  • Lock sessions to the IP address from which they originated.
  • Lock sessions to the domain in which they were first used.

Locking the organization’s session security to the IP address from which they originated prevents Auth0 doing its work—the Auth0 server is on a different IP from the original IP (i.e, the user’s computer). This can result in a session expiry.

How to fix the problem

Using Salesforce (Lightning), perform the following:

  1. Click on Setup.
  2. Search for and select Session Settings.
  3. Locate the section named Session Settings and uncheck Lock sessions to the IP address from which they originated.
  4. Save the new settings.

Session settings in Salesforce.

Session settings in Salesforce.