Super helpful, thank you!
Quick question, I need to authenticate my admin portal as well. I tried to use the Okta packages for .net framework 4.8 and web forms but my instance throws a 404 error when Okta redirects back to the callback (authorization-code/callback). The sample code Okta provides works fine. I suspect Kentico is doing something to intercept that request but I don't know what or how to prevent it. In the meantime, I'm doing it manually. Forcing a redirect, capturing the return, and issuing a POST to exchange code for tokens. I'd be happier if I could use the Okta library.
Any ideas?