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

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -