Code:
https://api.myteamspeak.com/v1/oauth?&callback=https://mycoolapplication.com/ts_verify_success.html
Something like this ^

which brings the user to https://www.myteamspeak.com/login and after a successfull login it returns data like a unique user id and badges etc. to the referer