We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I login on Android, the returned Credentials object has an expiresAt value that is off by 7 hours.
Credentials
expiresAt
Here is the relevant code snippet from the sample app with a print statement that I added:
final result = await webAuth.login( redirectUrl: dotenv.env['AUTH0_REDIRECT_URI'], audience: dotenv.env['AUTH0_AUDIENCE'], ); setState(() { _isLoggedIn = true; }); output = result.idToken; print(result.expiresAt.difference(DateTime.now()));
I would expect this to be close to my access token lifetime of 5 minutes.
Here is the printed value that I get: -6:55:01.311274
-6:55:01.311274
DateTime.now()
No response
1.6.0
3.16.9
Android
The text was updated successfully, but these errors were encountered:
It looks like this is related to #469
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Checklist
Description
When I login on Android, the returned
Credentials
object has anexpiresAt
value that is off by 7 hours.Here is the relevant code snippet from the sample app with a print statement that I added:
I would expect this to be close to my access token lifetime of 5 minutes.
Here is the printed value that I get:
-6:55:01.311274
Reproduction
expiresAt
value in the returnedCredentials
objectexpiresAt
value andDateTime.now()
Additional context
No response
auth0_flutter version
1.6.0
Flutter version
3.16.9
Platform
Android
Platform version(s)
No response
The text was updated successfully, but these errors were encountered: