I have an universal app which uses Token Flow for login. But the token is only grant for 1hour...which is not enough for a service.. So I want to set the auth method to "Code flow" . I use this uri :
https://login.live.com/oauth20_authorize.srf?client_id={0}&scope={1}&response_type=code&redirect_uri=https://login.live.com/oauth20_desktop.srf&response_type=code&scope={1}&display=popup
I got a response from server: status = OK, but the response stream content is an html webpage. (user prompt for autorization) How can I do to show this ask for auth to user ? And get his response in WP8.1 ?
Thanks..