-
Notifications
You must be signed in to change notification settings - Fork 14
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
passwordRealm fails after migration to null safety #5
Comments
Thanks, i will look at it today. Do you know at what place we have an issue? |
It appears that the members of Auth0User are non-nullable.
does not return a "refreshToken". Similarly ...
does not return an "idToken". Other combinations 'audience' and 'scope' may generate issues as well. We did not test further. WorkaroundExpand 'scope' to force return of missing data.
In second case, add 'openid' to 'scope'.
|
I released version 2.0.2 where all fileds of the Auth0User are nullable, so it should not cause any problems. I close issue for now |
We are trying to transition our application to null safe status, but are having issues with the Auth0 package.
When we execute the "passwordRealm" method, an exception is thrown.
type 'Null' is not a subtype of type 'String'
The message implies that a "string" value is not properly assigned, but we are failing to figure out what it is.
Any help or insight would be appreciated.
We had everything working before we migrated to null safety.
The text was updated successfully, but these errors were encountered: