This is my first question so hello and thanks for your support!
I am currently developing a windows 8 store app.
I need to login to an OAUTH website and get the response token to save as a string.
I would like this to appear in a popup, have the user login, then close once a response is received.
I can get the webview to pop up and I can navigate to the page. But how do i handle the response and close. I speak VB.
Thanks again!
Edited to add my code:
Dim url As New Uri("https://aurlthatidontcontrol")
WebView1.Navigate(url)
PopUp.IsOpen = True
MY popup opens and the login for the url is presented.
Once I log in I should get a response from that server which includes an access token
I want to get that token into my app and save it as a string, then close the popup
Ok I figure it out.
Instead of actually calling a webview I used the web-broker authentication. Details
This allows the service login to “pop” on the screen and I can capture the result like this: