Created
May 23, 2014 20:19
-
-
Save sedouard/1df05bf52ad906f805be to your computer and use it in GitHub Desktop.
This is an example of continuing oauth authentication with Windows Phone 8.1 (javascript)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.addEventListener("activated", function (args) { | |
if (args.detail.kind == activation.ActivationKind.webAuthenticationBrokerContinuation) { | |
//take oauth response and continue login process | |
mobileSerivce.login(args.detail.webAuthenticationResult); | |
} | |
//Handle normal activiation...(hidden) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't get any relevant data from the args after a successful auth. Is there anything else that has to be initialized before the login procedure?