dotMorten / WinUIEx

WinUI Extensions
https://dotmorten.github.io/WinUIEx
MIT License
573 stars 36 forks source link

WebAuthenticator: Make sure AppInstance.FindOrRegisterForKey is called if AppInstance.Key is blank #123

Closed oliverholliday closed 8 months ago

oliverholliday commented 1 year ago

The CheckOAuthRedirectionActivation method returns early if the AppActivationArguments isn't a Protocol event, this bypasses the check for if AppInstance.Key is blank/not configured and results in the state URI being configured with a blank appInstance value.

The GetState method already checks for this situation.