Can't connect to the service
Hello!
I have UWP 8.1 app, I integrated box v2.
everything work fine with developer token.
But when I add OAuth2, somethung went wrong.
When I try get access to app (get authCode) openin a new windows woth login. After I click on "locgin" it show me a error :
My redirect Uri is "https://localhost/"
How I call acces page:
WebAuthenticationResult war = await WebAuthenticationBroker.AuthenticateAsync( WebAuthenticationOptions.None, authCodeUri, callbackUri);
-
When your user is prompted to log into Box and authorizes (or denies) access for the application, the access token is posted to the redirect URL you provide (http://localhost/, for example). So you grab the access token from that and use it for your subsequent application requests.
Please sign in to leave a comment.
Comments
5 comments