Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Hosting server for custom Power-Ups

Hi, 

I am writing custom Power-Ups for my company. (I am using Trello Enterprise) 

Due to security concern, I can't host my code in public hosting sites like Glitch or Github Pages(public).  So instead I put my code in Github Pages(Enterprise),  and put the Power-Up iframe connector url as the Github Pages(Enterprise) URL. 

But it seems Trello doesn't load from Github Pages(Enterprise) URL. I put the same code in Glitch or Github Pages(public), there is no problem.

I need to log in with SSO to Github Pages(Enterprise), is it the reason for the problem?

And any other solution if I need to keep the code of Power_ups confidential?

Thank you!

2 answers

0 votes
Iain Dooley Community Leader Apr 15, 2019

@William Zhang hey, if the page is sitting behind a login, then I'd assume that's the problem. One option would be to create your iframe connector HTML using a Google Apps Script deployed as a web app.

I use Apps Script deployed as a web app to create a "bot user" and register webhooks and respond to POST requests, but you could use the same method to respond to GET requests and load some HTML that would allow Trello to communicate with your app.

You could then use the Trellinator library to manipulate Trello from within Google Apps Script:

https://trello.com/integrations/#trellinator

You will need to modify the doGet() method to serve up your HTML and then figure out how to make it respond correctly to the postMessage used by Trello to communicate with your app, but all the other Trellinator functions should Just Work(TM) so long as you have an API key/token configured in the Configuration tab of your spreadsheet.

@William ZhangHow you describe your Power-Up implies that the Power-Up itself has no server functionality?

If that is so (i.e. the Power-Up is JavaScript based), one possibility is to use an obfuscated long url (similar to how Trello handles attachments) to serve the Power-Up from your own server.

If your Power-Up had server functionality, you could require a some kind of login.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Trello

📹 What is Trello?

Hello Community!  My name is Brittany Joiner and I am a Trello enthusiast and Atlassian Community Leader. I'll be sharing with you a series of videos with my top tips on how to best use Trello...

330 views 10 22
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