Apply credentials and limit presentation for confluence

Todd Winton October 5, 2023

We have an application external to confluence that has a link to launch a space in confluence.  On server, we were able to apply the credentials from the link using dologin in the url.  This ID also have configuration in the customer html at end of HEAD:

<script type="text/javascript">
AJS.toInit(function(){
if (AJS.params.remoteUser == 'docs'){
AJS.$("#space-tools-menu-trigger").hide();
AJS.$('#header').hide();
AJS.$('#action-menu-link').hide();
AJS.$('#children-section').hide();
AJS.$('#shareContentLink').hide();
AJS.$('#likes-section').hide();
AJS.$('#labels-section').hide();
AJS.$('#watch-content-button').hide();
}
});
</script>

This hides much of the navigation and functionality of confluence to make this view only for the ID docs

Is there a way to provide something similar for cloud?

1 answer

0 votes
Benjamin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 5, 2023

Hi Todd,

 

Server allows you to add javascript and html scripts. However, cloud does not provide this functionality. There are possibilities with add-ons.

 

See similar post below:

 

https://community.atlassian.com/t5/Confluence-questions/Atlassian-Cloud-how-to-add-custom-javascript-or-html-for-an/qaq-p/941069

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events