A redirect URI is the callback address supplied during an OAuth2 login. After authentication, the identity provider returns the user to this address with an authorization code that can be exchanged for tokens. section 8.1.2
For a web application, the URI usually points to the originating website. For a .NET MAUI mobile or desktop app, use a custom URL scheme that the operating system associates with the app. section 8.1.2
Configure a .NET MAUI callback
Use auth.com.mildredsurf.stocktake:/callback as the redirect URI. Pass it to WebAuthenticator and OidcClient, then register the auth.com.mildredsurf.stocktake scheme on each target platform. Android uses a callback Activity and intent filter; iOS and macOS use Info.plist; Windows uses Package.appxmanifest. section 8.1.2
