If for any reason native WebAuthenticationBroker implementation is not available/possible, OR it's a preferred method by user, there should be an HTTP server implementation of WebAuth.
Typical flow:
- WebAuthenticationBroker is called
- Localhost HTTP server is spawned
- Request URI is opened in the web browser, with redirect URI to the localhost and HTTP server port
- When localhost is called, HTTP server intercepts the URL to be returned from WebAuthenticationBroker
- HTTP server is destroyed.
If for any reason native
WebAuthenticationBrokerimplementation is not available/possible, OR it's a preferred method by user, there should be an HTTP server implementation of WebAuth.Typical flow: