Thanks Barry!
I am able to write a webserver in the app, which I did last night, but could not figure out how to receive the information with my app since after the # is not relayed in the response. I have your example on how to grab the token (auth.html) with javascript, but I am bit stuck on how to relay that token to my app. I am using python, and the python HTTPServer. Not sure if this is the right direction.