Developing Mobile Apps — Question 3

You have to connect your app to an online identity provider that uses OAuth authentication protocol.
The app must securely use the WebAuthenticationBroker object for authentication.
You need to ensure that the app registers with the provider.
Which two actions should you perform? Each correct answer presents part of the solution.

Answer options

Correct answer:

Explanation

To register the app with the identity provider, it is essential to construct a proper request URI, which should be HTTPS for security. Additionally, calling the GetCurrentApplicationCallbackUri method is necessary to retrieve the callback URI used during the authentication process. The other options are either not relevant to the registration process or do not ensure secure communication.