M
M
Maxim Barulin2017-06-20 14:13:05
JavaScript
Maxim Barulin, 2017-06-20 14:13:05

[WebAuthenticationBroker] What is this strange error?

Hello! I'm trying to adapt an example from https://github.com/Microsoft/Windows-universal-sam... for authorization through a contact. I changed the addresses as on the page https://vk.com/dev/implicit_flow_user at startup it gives me this:
27086b41671e4a0ca9e561510e137321.png
What is this and what does it refer to - I'll never know. If you copy the link to the browser, contact authorization and a request for permissions will open. After confirmation, it will issue a token. And then even the permission window does not show ...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Barulin, 2017-06-20
@Slavenin999

if (Windows.Security.Authentication.Web.WebAuthenticationBroker.authenticateAndContinue) {

the problem was here. For some reason this returns true on the first run. Added an extra check and it worked.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question