I’ll leave the scope issues to the webby guys on here like Fugimon, as to the ‘localhost’ being wrong, if you have a webview it really doesn’t matter what the url is, as you are going to watch for that url, grab the authtoken and close the view so it will never actually complete the navigation part.