You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using WinUIEx.WebAuthenticator.AuthenticateAsync(...).
Expected behaviour:
When opening the callback url, the app activation should be redirected to the original app instance based on the state that is given with the callback url.
Actual behaviour:
When using version 2.1 of WinUIEx (that is - using the NuGet package), a second app instance is still being opened instead of the redirect going to my initial instance. I am seeing that the state is encoded as JSON, which verifies that I'm using version 2.1 (the JSON encoding was new in #92).
When not using the NuGet package, but instead putting these files in my project:
WebAuthenticator.cs
WebAuthenticatorResult.cs
Helpers.cs
the redirection works as expected.
This is probably a mistake on my side, but do you have any hints how I can best debug what is happening inside the NuGet package? It is not possible to put a breakpoint in decompiled code or in unloaded modules (and when the NuGet dll is loaded, the NuGet code is run immediately because of the [System.Runtime.CompilerServices.ModuleInitializer] attribute)
The text was updated successfully, but these errors were encountered:
(moved from #92)
I'm using
WinUIEx.WebAuthenticator.AuthenticateAsync(...)
.Expected behaviour:
When opening the callback url, the app activation should be redirected to the original app instance based on the
state
that is given with the callback url.Actual behaviour:
When using version 2.1 of WinUIEx (that is - using the NuGet package), a second app instance is still being opened instead of the redirect going to my initial instance. I am seeing that the state is encoded as JSON, which verifies that I'm using version 2.1 (the JSON encoding was new in #92).
When not using the NuGet package, but instead putting these files in my project:
WebAuthenticator.cs
WebAuthenticatorResult.cs
Helpers.cs
the redirection works as expected.
This is probably a mistake on my side, but do you have any hints how I can best debug what is happening inside the NuGet package? It is not possible to put a breakpoint in decompiled code or in unloaded modules (and when the NuGet dll is loaded, the NuGet code is run immediately because of the
[System.Runtime.CompilerServices.ModuleInitializer]
attribute)The text was updated successfully, but these errors were encountered: