title: OAuth Swift : What "callback" URL for Dribbble app?
body: <p>I am making an app which uses OAuthSwift for the Dribbble Login, all goes well (of course I set up the application on the Dribbble Developer page and I have my Client ID and Secret).</p>
  
  <p>But when it ask to the user if he accept or not the permissions, the callback doesn't work.</p>
  
  <p>I made my URL callback "DribbbleChat2://oauth-callback", and I made a URL schemes in Xcode Infos "oauth-callback"</p>
  
  <p>Please can you help me to redirect the authentification to my app ?</p>
  
  <p><img src="https://i.stack.imgur.com/AGIPi.jpg" alt="Redirect fail"></p>
  
  <p>Here is my function with the callback URL</p>
  
  <pre><code>func doOAuthDribbble(){
      let oauthswift = OAuth2Swift(
          consumerKey:    Dribbble["consumerKey"]!,
          consumerSecret: Dribbble["consumerSecret"]!,
          authorizeUrl:   "https://dribbble.com/oauth/authorize",
          accessTokenUrl: "https://dribbble.com/oauth/token",
          responseType:   "code"
      )
      oauthswift.authorizeWithCallbackURL( NSURL(string: "DribbbleChat2://oauth-callback")!, scope: "public+write+comment+upload", state: "", success: {
          credential, response in
          self.showAlertView("Dribbble", message: "oauth_token:\(credential.oauth_token)")
          // Get User
          var parameters =  Dictionary&lt;String, AnyObject&gt;()
          oauthswift.client.get("https://api.dribbble.com/v1/user?access_token=\(credential.oauth_token)", parameters: parameters,
              success: {
                  data, response in
                  let jsonDict: AnyObject! = NSJSONSerialization.JSONObjectWithData(data, options: nil, error: nil)
                  println(jsonDict)
              }, failure: {(error:NSError!) -&gt; Void in
                  println(error)
              })
          }, failure: {(error:NSError!) -&gt; Void in
              println(error.localizedDescription)
      })
  }
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/9Gf0o.png" alt="My URL scheme"></p>
  
  <p><img src="https://i.stack.imgur.com/QkJEW.png" alt="Dribbble app callback"></p>