---
title: "Revoke access for expired connection following key rotation"
canonical: "https://support.appfire.com/space/SFPUBC/3885105320/Revoke+access+for+expired+connection+following+key+rotation"
format: markdown
---
> Macro (aura-html)

## When to use this page

Appfire rotates tokens for the Salesforce Connected App for security. This revokes your existing Salesforce connections in **Publisher for Confluence Cloud to Salesforce**. You need to reauthorize the connection.

## **Symptoms**

- The status displays as [unauthorized] on the *Connections* page or
- Confluence content doesn't load in Salesforce.

## Impact

The connection between Salesforce and Confluence stops working, and all data syncs that rely on it fail until an administrator reauthorizes it.

Reauthorizing takes a few minutes.

## Before you start

You’ll need:

- Confluence site admin rights
- A Salesforce user who can authorize the Connected App, usually a Salesforce admin

# ** Revoke access for the connection**

1. In Confluence Cloud, go to **Confluence administration **().
2. In the left sidebar, under **Settings**, select **Salesforce Publisher** - **Connections**.
3. Connect or re-authorize:
  - If there is no connection: click **Connect to Salesforce**.
    

  - If a connection already exists and is stuck after rotation: click **Delete**, then **Connect to Salesforce** again.  
You can safely delete and reconnect. Deleting a connection doesn't remove your data.
    

4. Select the **Sandbox** or **Production **environment, then click **Authorize**.
5. Log in to Salesforce: Use a Salesforce admin (or a user allowed to authorize the Connected App).
6. On the consent screen, click **Allow**.   
The Connection page should show [Authorized] status.

##