mediumswift.herokuapp.com Code courtesy of oauthswift.herokuapp.com You can set callback url : http://tripchronicle.herokuapp.com/callback/{app_name} Redirect to "highlight">"tripchronicle://tripchronicle-callback/{app_name}"