Cannot connect Confluence to Slack

Gareth McGregor
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 9, 2022

Whenever I try to Log into my Jira account through slack, the following message pops up: 

{"error":{"message":"Invalid state","code":"INVALID_STATE_TOKEN"}}

1 answer

0 votes
Summer Hogan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 9, 2022

Hi @Gareth McGregor - welcome to the community. There is an answer on the community about this. If you scroll down in the comments you will see a suggestion. to clear your cookies for Confluence and Slack and enable 3rd party cookies for the browser. 
https://community.atlassian.com/t5/Confluence-questions/Trouble-connecting-slack-and-confluence/qaq-p/1483317#:~:text=Try%20removing%20your%20cookies%20for%20Confluence%20and%20Slack%20and%20try%20again.&text=I%20had%20the%20same%20issue,cookies%20on%20this%20authentication%20site. 

Eli Smith
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 20, 2024

@Summer Hoganthat link doesn't work anymore. What are the steps it referenced? How can we fix this? There are only three threads about this, two of which have no replies and the third is this very thread.

Edit: I figured it out, if you are using FireFox, you must disable "Enhanced Tracking Protection" for Atlassian's sites, which in turn enables third party cookies for those sites as well, allowing the page to correctly work. Below is a link to official Mozilla FireFox documentation, and not just a forum thread, so it should stick around for a while:

https://support.mozilla.org/en-US/kb/third-party-cookies-firefox-tracking-protection#w_enable-third-party-cookies-for-specific-sites

Like Summer Hogan likes this
Summer Hogan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 20, 2024

Ok, glad you figured it out because you are right that the link does not work and I cannot locate that question any longer. In the future when I answer questions, I'll list the steps out instead of posting a link.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events