Getting Authentication Token Back in Python using QWebView?

When you registered your app you had to specify a redirect URI. That is where you need to capture the access token and transition users to your app:

https:// [your registered redirect URI]/#access_token=[an access token]&scope=[authorized scopes]