title: How can I retrieve a token from Trello API
body: <p>I'm building an application that asks the user to authorize the application to use him Trello account.</p>
  
  <p>First, I use my developer key (provided by Trello) and do a API call, like that:</p>
  
  <pre><code>Trello.authorize({
      type: 'popup',
      name: 'My App',
      persist: 'true', // the token will be saved on localstorage
      scope: {
          read: 'true',
          write: 'true' 
      },
      expiration: 'never',
      success: authenticationSuccess,
      error: authenticationFailure
  });
  </code></pre>
  
  <p>This shows a pop up asking to user to allow (authorize).</p>
  
  <p>My question is, how can I get the token in this request? This method doesn't deliver any response.</p>
  
  <p>The only way I found to get the token is: send the user to...</p>
  
  <pre><code>https://trello.com/1/connect?key=my_developer_key&amp;name=My+App&amp;response_type=token&amp;scope=read,write
  </code></pre>
  
  <p>However, the user lands on a blank page that shows:</p>
  
  <p>"You have granted access to your Trello information."
  "To complete the process, please give this token:"
  "21265656542121245...sometoken"</p>
  
  <p>I don't want the user needs to give me any token.</p>
  
  <p>Can any one help me with this issue? Thanks</p>