Salesforce Refresh Token Expiration (August 2026)
Summary
Overnight on August 20, 2026, Salesforce began enforcing a 30-day idle expiration on OAuth refresh tokens issued through the GRAX Connected App. Any refresh token that had not been used in the previous 30 days was invalidated at once. Most GRAX applications held a token in that state, so they lost their Salesforce connection and stopped capturing new data until an administrator reconnected them.
No data was lost. Everything already in the GRAX data lake stayed intact and searchable throughout, and capture resumed from its last successful point as soon as each application was reconnected.
Impact
Duration: Disconnections began at about 8:30 PM ET on August 20, 2026. Each application stayed disconnected until it was reconnected by a Salesforce administrator.
Affected applications: Most production and sandbox GRAX applications connected to Salesforce through the GRAX Connected App.
Symptoms: Backup, archive, restore, and seeding jobs failed with
invalid_grant: expired access/refresh token, and the Salesforce connection showed as disconnected in GRAX settings. GRAX admins received the automated reconnection email.Data: No data was lost or exposed. Capture of new Salesforce changes paused while an application was disconnected and caught up automatically after reconnection.
Timeline
All times are Eastern Time (ET).
August 20, 8:30 PM
Salesforce begins enforcing the 30-day idle expiration on the GRAX Connected App. GRAX applications start failing to authenticate, and automated reconnection emails go out to GRAX admins.
August 21, 1:00 AM
GRAX engineering identifies the widespread disconnections and begins investigating.
August 21, 9:15 AM
GRAX Support begins responding to customer cases about the disconnections.
August 21, 10:00 AM
GRAX identifies every affected application and begins tracking reconnections.
August 21, 11:30 AM
GRAX engages its Salesforce partner contacts to confirm the cause of the change.
August 21, 12:45 PM
GRAX Support begins sending an incident notice and reconnection guidance to customers with open cases.
August 21, 2:00 PM
GRAX begins proactive email and phone outreach to the administrators of every affected production application.
August 21, 4:00 PM
GRAX completes changes that record each token's last refresh and refresh tokens on a weekly schedule.
August 28
Incident closed. Outreach continued to the few remaining customers with disconnected production applications.
Root Cause
GRAX connects to Salesforce through OAuth. Salesforce issues a short-lived access token, which GRAX uses for every API call, and a long-lived refresh token, which GRAX exchanges for a new access token when the current one expires. GRAX only performed that exchange when Salesforce rejected its access token. While an application was running normally, its access token stayed valid, so many refresh tokens had not been used in more than 30 days.
On August 20, Salesforce began enforcing a 30-day idle limit on refresh tokens for the GRAX Connected App as part of its security requirements for Connected Apps and External Client Apps. Every refresh token that had been idle for more than 30 days was invalidated at that moment. The next time each affected application needed a new access token, Salesforce refused the request and the application disconnected.
No GRAX code, configuration, or infrastructure change contributed to the incident. GRAX's handling of refresh tokens was correct under the previous policy, which kept refresh tokens valid until revoked, but it had no safeguard for a token going unused under an idle limit.
Why there was no advance warning
Salesforce announced the security updates to partners ahead of enforcement. The notice covering idle expiration did not reach the GRAX team responsible for the GRAX Connected App, and the change did not appear in the Connected App's setup audit history. GRAX therefore had no opportunity to refresh tokens ahead of the enforcement date.
Why recovery required customer action
Restoring a connection requires a Salesforce administrator at each customer to re-authorize GRAX, which GRAX cannot do on a customer's behalf. Recovery time for each application depended on when its administrator was able to reconnect.
Resolution
GRAX notified administrators of every affected application by automated email, followed up with support emails and phone calls, and worked directly with customers whose reconnections ran into problems. Each application resumed backup, archive, and other jobs from its last successful point once it was reconnected.
On August 21, GRAX changed how applications manage Salesforce tokens:
GRAX records when each connection's refresh token was last used.
GRAX refreshes each connection's tokens at least once a week, whether or not Salesforce has rejected the current access token. This keeps tokens well inside the 30-day idle limit while an application is running.
Scheduled refreshes run on weekdays only, so that if a refresh ever fails and needs an administrator to reconnect, it happens when teams are available to respond.
Preventive Measures
Beyond the token refresh changes above, GRAX is making the following improvements:
Vendor change monitoring: GRAX is updating the contacts Salesforce uses for partner notices so that they reach a shared team, and adding a recurring review of upcoming Salesforce security and authentication changes.
Reconnection safeguards: During recovery, some applications were reconnected with a different Salesforce user, or to a different Salesforce org, than they used before. GRAX is adding checks that compare a reconnection against the application's previous org and integration user, and that warn or block when they differ.
Recommended Actions
Most customers need to take no further action. We recommend the following checks:
In GRAX, open Settings and confirm that the Salesforce connection shows as
Connected. If it does not, follow Changing or Moving Connections to reconnect.If you reconnected after this incident, confirm that you connected with your usual GRAX integration user and to the correct Salesforce org. If you connected with a different user, GRAX Auto Config may have changed that user's permissions; contact GRAX Support and we will help you reconnect and review them.
Confirm that the GRAX admin email addresses for your application are current and monitored, since GRAX sends connection alerts to them.
If you manage the GRAX Connected App policies in your org, keep the refresh token expiration period at 14 days or more.
Questions
If you have questions about this incident or its effect on your environment, contact GRAX Support at help@grax.com.
Last updated
Was this helpful?

