How to get the control back to my app, If user clicks on DENY button in Trello Authorization screen -
in our application using trello authentication , authorization flow consent user. below code sample using user trello authorization.
trello.authorize({ type: "redirect", name: "trello myapp", scope: { read: true, write: true }, expiration: "never", success: authenticationsuccess, error: authenticationfailure }); function authenticationsuccess() { console.log("success"); } function authenticationfailure() { console.log("failure"); }
once user chosen account , login, trello giving control application calling success call method "authenticationsuccess". if user clicks on "deny" button in authorization screen, trello not giving control application. failure call method "authenticationfailure" not executing. please suggest me, how can control app when user clicks on "deny" button? i'd appreciate suggestions.
Comments
Post a Comment