Capabilities
Client Library
Color Theme Compliance (Beta)
UI Functions

show-authorization

Tells Trello what to do when the clicks on the Authorize Account prompt.

Example Code

1
2
window.TrelloPowerUp.initialize({
  'show-authorization': function(t, options){
    // return what to do when a user clicks the 'Authorize Account' link
    // from the Power-Up gear icon which shows when 'authorization-status'
    // returns { authorized: false }
    // in this case we would open a popup
    return t.popup({
      title: 'My Auth Popup',
      url: './authorize.html',
      height: 140,
    });
  }
});

Rate this page: