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
If a user with a system language other than English tries using social login method(I've tested it with Google only), they are not logged in as the expiresAt value cannot be parsed due to it being in the system language. For example, if your mobile is set to use Arabic then the package tries parsing an arabic value. The ideal solution would be to parse the datetime while keeping in mind of a different locale being used by the system.
Reproduction
Clone the example app
Change your phones language
Use a social login method through the web
See the error logged in console along with the datetime
auth0_flutter version
1.1.0
Flutter version
3.7.12
Platform
Android, iOS
Platform version(s)
Latest
The text was updated successfully, but these errors were encountered:
Thanks for raising. Seeing as you mention an example with Arabic, we have #238 that may fix this. Does the solution proposed in that PR look like it would solve your issue?
Checklist
Description
If a user with a system language other than English tries using social login method(I've tested it with Google only), they are not logged in as the
expiresAt
value cannot be parsed due to it being in the system language. For example, if your mobile is set to use Arabic then the package tries parsing an arabic value. The ideal solution would be to parse the datetime while keeping in mind of a different locale being used by the system.Reproduction
auth0_flutter version
1.1.0
Flutter version
3.7.12
Platform
Android, iOS
Platform version(s)
Latest
The text was updated successfully, but these errors were encountered: