Learn to build a cross-platform login form for iOS, Android, and Windows using Xamarin Forms
Not to be cheeky, but saying “There is no need to explain everything that goes on in this code” is terrible.
As a tutorial, in which you are trying to help developers use Okta (and by proxy convince our bosses to pay for your SSO solution) I would expect a line by line explanation in excruciating detail, with caveats and other options explained thoroughly.
Hand waving and pointing us toward the docs, is not very reassuring from a technology company.
The code in question implements the PKCE flow which is part of OAuth. For a detailed explanation of how it works, please see this blog post we recently published: Implement the OAuth 2.0 Authorization Code with PKCE Flow.
I was following this tutorial and I am wondering where you are getting this from? I tried to search the NuGet package library and I can’t find them.
Looks like they are here: https://docs.microsoft.com/…
They look to be part of the Windows UWP namespace.
Hope that helps.