Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-72286

Certain Slack commands will prompt a logged-in user to log in if Confluence has IP Allowlisting enabled

    XMLWordPrintable

Details

    Description

      Issue Summary

      When a Confluence site has IP allowlist enabled, even though the user is already logged-in, when trying to run certain Slack Confluence commands, it will state that the user must log in.

      Steps to Reproduce

      1. Make sure to enable IP allowlist and add it to a Confluence Cloud site.
      2. Now, in a Slack workspace, make sure to log in to this site to integrate Slack with Confluence by using the following command:
        /confluence login <site url>
        
      3. Once the authentication is completed, try to use commands like the ones below, which will have different results:
        /confluence whoami
        
      /confluence connect <space or page URL>
      

      Expected Results

      The user should be able to use the commands as the authentication is already completed.

      Actual Results

      The Confluence app in Slack will ask the user to log in:

      Hi, USER! I'm here to help you work on Confluence pages and spaces from within Slack.
      To perform this action, please authorize Slack & log in to your Confluence Cloud account by typing
      /confluence login <site-url>.

      If the user tries to login again, it will state that the account is already logged in.

      Workaround

      As an organization administrator, disable IP allowlisting, have the user using any of the commands that prompted to log in again. After that, enabling IP allowlist back will not trigger the issue anymore.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gdecampos Giuliano C.
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: