Skip to content

Instantly share code, notes, and snippets.

@sedouard
Created May 23, 2014 20:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sedouard/1df05bf52ad906f805be to your computer and use it in GitHub Desktop.
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)
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)
}
@cancian
Copy link

cancian commented Jul 12, 2015

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment