Last active
May 18, 2020 17:29
-
-
Save wdchris/0711ac675502e1d6438313c29cfb2115 to your computer and use it in GitHub Desktop.
Authenticate with the Trello API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://api.trello.com/1/client.js?key=MY_KEY"></script> | |
<script type="text/javascript"> | |
Trello.authorize({ | |
name: "My site", | |
scope: { | |
read: true, | |
write: false | |
}, | |
expiration: "never", | |
error: function() { | |
console.log("Failed authentication"); | |
} | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment