Display cards from a private Trello board without visitors needing a Trello account, or them needing to authorize via popup

Asked
Active3 hr before
Viewed126 times

1 Answers

withoutprivatedisplay
90%

My company has a list of current projects on Trello (private board), and we'd love to display them on our website by connecting to the board so that they're always up-to-date.,Print out cards, boards, etc! Rejoice, because you can now show anyone cards without them needing a Trello account., Is the board you're trying to show public on Trello? – Aaron Dufour May 9 '16 at 2:44 ,The code snippet above is from this jsFiddle, but I'm just showing how the token fits into the flow of pulling data from Trello.

authenticate.html

<html><head></head><body>
<script src="https://api.trello.com/1/client.js?key=APP-KEY-FOR-SERVICE ACCOUNT"></script> <!-- Get yours here https://trello.com/app-key -->
<script>
// Obtain the token
var authenticationSuccess = function () {
    var TOKEN = Trello.token();
    console.log(TOKEN);
};

var authenticationFailure = function () {
    alert("Failed authentication");
};

// Force deauthorize
Trello.deauthorize();
Trello.authorize({
    name: "Preauthorize a Shared Service Account",
    scope: {
        read: true,
        write: true
    },
    type: "popup",
    expiration: "never",
    persist: false,
    success: authenticationSuccess,
    error: authenticationFailure
}); 
</script>
</body></html>
load more v

Other "without-private" queries related to "Display cards from a private Trello board without visitors needing a Trello account, or them needing to authorize via popup"