Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How do I get rid of "Connect your account te preview links" for Github?

Whenever I enter a GitHub URL in Confluence I see this:


Clicking on Connect your account to preview links does nothing. Well, it opens a new tab and then does nothing. Something is broken. How do I connect it or somehow get rid of it?

17 answers

How can I get rid of the nagging? Regardless of the “feature” working or not, I will not connect Atlassian to my Google, Github, etc account, period. Please accept that and give an option to dismiss the nagging for good.

Shannon S Atlassian Team Mar 10, 2020

Hello Andras,

Thank you for following-up on this case.

I created the request below to track this feature:

  • CONFCLOUD-67922 Ability to dismiss or disable Smart Card behavior for links

I'm linking it with the internal case, so please add your feedback to that ticket. 

There's not a way at the time to cancel the nagging, but you can use the following workaround to just insert as a normal link:

When inserting the link, be sure to use http:// instead of https://. The Smart Card feature will not be activated, and upon visiting the URL, it will automatically redirect to https:// for these services.

Alternatively, you can press Ctrl + Z (Windows) or Cmd + Z (macOS) (to revert the link to a normal blue link).

I hope that helps, but let me know if you have any trouble.


Like # people like this

In english:

press Ctrl + Z (Windows) or Cmd + Z (macOS) to revert the link to a normal blue link... after pasting any link into an atlassian box...

You can fix a link that has been wrapped by atlassian by copy pasting it using copy link address.


For what purpose are you requesting users connect external accounts be linked, where can I read about how you will only use this information to "preview links"?

Are you aware that this "feature" is violating the concept of least privilege and encourage users to disclose information unnecessarily, that might harm them or you?

"If our security measures are breached or unauthorized access to customer data is otherwise obtained, our products may be perceived as insecure, we may lose existing customers or fail to attract new customers, and we may incur significant liabilities."

When I paste a google docs link into atlassian, your UI lies, and tells me that "You don't have access to that link"... you then build an OAuth link around my link to my document, that when clicked, discloses to google that i'm using atlassian, and grants atlassian read only access to my google doc... if I will just click accept...

What you mean to say is "Atlassian can't read your trade secrets or IP behind that link we just noticed you pasted in a chat box... would you like to allow Atlassian to have read-only access to file metadata and file content?"

This is the scope of the OAuth Request:


Want to learn more about OAuth Scopes actually mean?

Think about what happens when that google doc contains trade secrets or IP... think about what happens when atlassian is breached and all those access token with read only access are used to steal all atlassian customer's google docs, who didn't realize what they were doing when they harmlessly "Connected an account to preview links".

Developers are invited to review the graphql events logged associated with "smartLink renderSuccess" which includes gems like:

nonPrivacySafeAttributes: {linkDomain: [""]}

(link to the file doesn't work... but here is the same commit

does this mean this information is privacy safe? or not?

This feature is a lawsuit waiting to happen... Please disable it by default, and never prompt users to grant access to external resources, without properly communicating the risks and liabilities associated with the action your software is proposing. 

If it were possible to disable this behavior I would have just disabled it, instead of posting this detailed explanation of how the "feature" actually works.

Can we get an ETA on when this will be possible to disable ?

Like # people like this

this thing is SUPER ANNOYING. how to disable this feature and keep the ticket comments the same as you write them ?


PS: i do not want to connect my github account

Belto Atlassian Team Sep 17, 2019

If you wish to disable the smart link feature altogether from the comments in Jira you can modify the renderer from Wiki Style Renderer to Text Renderer.

Also dropping the bug ticket for this here:

Shannon S Atlassian Team Sep 17, 2019

Thanks to @Belto for providing the workaround for Jira Cloud!

@J. Pablo Fernández @dmitriy @mitchell balsam

This workaround is for Jira only. For anyone who tries this, just be aware that it will disable wiki-style rendering on the field completely.

I just discovered a workaround alternative for both Confluence and Jira. Insert the link with http:// instead of https://. This will break the Smart Card linking feature. For the services I tested, it redirects the user to https:// in the end. 

I've created the following feature requests for the ability to disable this message, or to disable the Smart Card behavior for specific links:

  • CONFCLOUD-67922 Ability to dismiss or disable Smart Card behavior for links (Confluence Cloud)
  • JRACLOUD-72990 Ability to dismiss or disable Smart Card behavior for links (Jira Cloud)

Please vote on the request that pertains to your product if this is something you wish to see in the future.

Thank you all for your help on this!



Like Steffen Opel _Utoolity_ likes this

@Beltowe would like to keep `wiki style renderer` because it highlights links to issues

we just do not use github and we are not going to connect github accounts in our jira project. but we do work extensively with open source packages / issues and that's why a lot of our jira tickets contain lots of github links.

is that possible to set up the wiki style renderer itself and disable github integration?


Like # people like this
Belto Atlassian Team Sep 23, 2019

I can totally understand. Instead of disabling the wiki markup, you can try the workarounds mentioned on JRACLOUD-72429 / CONFCLOUD-67922

I agree.  Seeing "Connect your account to preview links" is not only annoying but also an invasion into the privacy of the GitHub account. 

I get the feeling that the good folks of Atlassian have not thought this through completely.   Or if they have, we need to be concerned with nefarious intent.

Shannon S Atlassian Team Nov 15, 2019

Hello Michael,

This particular issue was resolved about a week after @J. Pablo Fernández reported it to me. I can confirm it's fixed for both Jira and Confluence and I no longer get the message when adding my Github link to a page in Confluence or an issue in Jira.

It's very odd that you are encountering it today. Could you please raise a ticket with our Cloud Support Team? We can have a look at your error logs and try to determine why you might still be seeing this message.

Thank you for your help!



Are you adding the link as "http://" or "https://"?  Because they behave differently.

Shannon S Atlassian Team Nov 20, 2019


Thank you for bringing that to my attention. You're right; it appears that it was only resolved for users when they enter or and NOT

I'm bringing this to the attention of the editor team right away and I will let you know what I find out.

Thank you again!



i'm requesting that you remove this feature or, at a minimum, allow the message to be suppressed link-by-link.

i am not going to connect my github account, so it's a constant nag.

but even i were to connect my account i wouldn't want this preview in many cases. there are times when i am entering a list of urls with some comments; previews only interfere with the message i am trying to convey.

please advise how this can be addressed.



Like # people like this

I, too, would like it removed.   Or at least a setting that is turned off initially.  (i.e. an advanced user can turn it on in their "settings"). Daily I'm pasting a link and then having to edit it to change "https" to "http".  

I know Atlassian wants to create professional software.   This feature just doesn't seem professional in its current form.

Shannon S Atlassian Team Jan 10, 2020

@Bruce MacNaughton and @Michael Dockter,

Thank you for the follow-up on this thread. Apologies for neglecting to get back to you before the holiday.

I am getting back in touch with the content experience team to see if they have any more information yet on this. I hope to hear something back next week.



Shannon S Atlassian Team Jan 16, 2020

Hello everyone,

As an update, we're going to start looking into this again now that the holidays are over. It will be an ongoing discussion and I will keep you all updated as I learn more information.

Thank you all!



Like Andras Racz likes this

Awesome @Shannon S 

I also want to be able to disable this feature. I will never give Atlassian access to all our GitHub repos with access to "code". Why the hell do you create a GitHub app that needs this big scope? You should probably allow the user to specify what Atlassian is allowed to read from GitHub and what not. Giving access to the code so that a "smart link" feature is enabled that can show some "preview" is really crazy.

Like # people like this
Shannon S Atlassian Team Jan 29, 2020

Hello Andreas, 

Thank you so much for your excellent feedback! I understand that currently the integration is asking for read access is to present links more meaningfully (this is what makes them "Smart"). However, this isn't ideal for everyone.

I've given this feedback to our development team, and we will look into this further. I'm waiting to hear back this week so I can get some examples of threads that we can follow for more details on this, as well as the original issue, in case the bug I showed you earlier isn't the best place to do that.

I'll keep you updated!



Like Andras Racz likes this

The accesses it is requesting is insane. Does Atlassian want to take the responsibility of securing all of this?

Atlassian Cloud by atlassian
wants to access your elvarb account

Read and write access

Personal user data
Profile information (read-only)

Public and private

Like # people like this
3 votes
Shannon S Atlassian Team Sep 02, 2019

Hello all!

This issue has now been resolved and once I login to my Github account, I no longer see the error message.

Please confirm that the issue is also resolved for you and if you continue to encounter issues, please let me know.



I found workaround

First, install http request blocker for chrome


then, block 


That api tries to get data to replace your orginal link to preview img or something.


It will show you original link, insted of annoying message :)

Super annoying thing! Please fix it!

This is super annoying!

I figured out that currently only way how to open link is to right click on link and pick "Copy link" from context menu. Or just be very quick while page is loading and link was not yet transformed.


It's not just Github links problem but also Google Docs - Atlassian wants to see all documents in Google Drive what is crazy.


Please please, remove this functionality.

Any updates on this? We need a way to completely disable this stupid behavior, not just random workarounds that don't always work. Please prioritize this.

Lets vote in HN to get this more serious attention

Can confirm that the Ctrl+Z workaround does not work on Linux.

We're about to implement Confluence org-wide and are considering postponing until it is possible to disable these "smart links". Is there a target date for this? As far as I can see from the linked Jira issue, this is not being worked on.

The easiest way we found to resolve this and a number of other questionable features not use any Atlassian products.  For us, it was the 'full access for everyone by default' we couldn't get over.

Like Alex Lewin likes this

One workaround that's working for me in JIRA is to press ctrl-Z (cmd-Z in Mac) right after the preview appears. The preview should be removed, leaving a normal text link in it's place.

As Shannon said, add comments to  This simply has to be fixed.

It seems to me that the simplest solution would be for Atlassian to provide a way to turn off preview links entirely.

My team views preview links as a hindrance. We find them useful 0% of the time.

Thank You!!! Its Work!

why do I need to connect to my account for public links? this doesn't make any sense. anyone can view these links as they are public

Does not work on linux.  Still get the connect your account messages.

Shannon S Atlassian Team Aug 27, 2019

Hello Mitchell,

This issue is occurring when a link to a Github account is pasted into Confluence without adding it manually as a text link. 

It is still an open bug without a resolution at this time, but the workaround is to create a text link instead. You can do this using the steps I let @J. Pablo Fernández  know about earlier.

Let me know if you have any trouble with this and I'll be happy to help!



0 votes
Shannon S Atlassian Team Aug 22, 2019

Hello there,

Welcome to Atlassian Community. It's nice to meet you.

I've been able to replicate the same issue, and I think it should work after you connect your user. So I've raised a bug for the problem below:

  • CONFCLOUD-67601 Connect your account to preview links error on Github links

Click This affects my team and you will automatically be added to the list of watchers. You will then receive any updates in the future about this bug.

Thank you for your understanding.



Thank you Shannon.

How do I connect my user?

Shannon S Atlassian Team Aug 22, 2019

You're welcome!

When you click the link, it does take you to Github where you can connect your user, but it seems that Confluence isn't recognizing that. This is the bug. So for the time being, there's not a way to link it on Confluence so that this error message will go away. In the meantime, you'll need to link it as a text link instead. 

  1. Write some text on the page.
  2. Select the text.
  3. Type CMD+K (Mac) or CTRL+K (Windows)
  4. Paste the Github link.

That will at least allow you to link to Github without the error.

Let me know if you have any questions.



Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

268 views 2 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you