-
Notifications
You must be signed in to change notification settings - Fork 11
Description
I need to use a different RedirectUri in my app for different pages/features, and I am forced to define it when I call new ClientBuilder(...).
Due to this, I cannot create an interface that I can inject and mock as shown in the example with IDuoClientProvider.
Is there a way we can make the RedirectUri a parameter on GenerateAuthUri()? Would that not make more sense in general?
Detailed Description
See above.
Use Case
I have various pages in my ASPNET Core Razor Pages app that require the user to verify their identity via a Duo push, each feature/vertical slice of my app should have their own callback page.
Workarounds
None yet, working on it now. Maybe a central callback page that takes its own redirectUri... or a keyed service, each page will have a key that resolves the client that is built to target a specific redirectUrl.