-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auth0.OidcClient.Auth0ClientBase.LoginAsync crashes after adding IdentityModel.OidcClient.IdentityTokenValidator to the project #329
Comments
It seems that using older version of the mentioned package fixes the problem (5.2.1 instead of 6.0.0 which is installed by default):
|
Hello @lszl84
So finally while I have added this version again I'm getting this exception, |
Checklist
Description
Adding login to my MAUI app by following the official Auth0 blog post works well (https://auth0.com/blog/add-authentication-to-dotnet-maui-apps-with-auth0/). LoginAsync() returns correctly, the user can be logged in, etc.
However, simply adding the IdentityTokenValidator package causes the crash. No need to add any other code (this is what the 2nd blog posts recommends: https://auth0.com/blog/managing-tokens-in-dotnet-maui/ )
Now the LoginAsync crashes.
Reproduction
Additional context
No response
auth0-oidc-client-net version
1.0.1
.NET version
8.0.302
Platform
Android, iOS
Platform version(s)
any
The text was updated successfully, but these errors were encountered: