CityOfLosAngeles / angeleno-my-account

App that allows Angeleno Account holders to update their profile, password, MFA, and app consent.
MIT License
1 stars 0 forks source link

Reuse Tokens & Misc. Changes #97

Closed cbhernan closed 4 months ago

cbhernan commented 5 months ago

What does this PR do?

The main changes in this PR is the reusing of a token as long as it has not expired.

Minor changes:

Background info:

We were creating new tokens on every request

Which issue(s) is/are related to this PR?

This PR is/are related to issue(s)

Closes https://github.com/CityOfLosAngeles/angeleno-my-account/issues/63

codecov[bot] commented 5 months ago

Codecov Report

Attention: Patch coverage is 81.02190% with 26 lines in your changes are missing coverage. Please review.

Project coverage is 81.14%. Comparing base (dd3437f) to head (4ee5cbe). Report is 1 commits behind head on development.

Files Patch % Lines
lib/controllers/auth0_user_api_implementation.dart 13.63% 19 Missing :warning:
lib/views/dialogs/authenticator.dart 92.10% 3 Missing :warning:
lib/main.dart 33.33% 2 Missing :warning:
lib/views/dialogs/mobile.dart 89.47% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## development #97 +/- ## =============================================== - Coverage 81.59% 81.14% -0.46% =============================================== Files 15 15 Lines 864 907 +43 =============================================== + Hits 705 736 +31 - Misses 159 171 +12 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github-actions[bot] commented 5 months ago

Visit the preview URL for this PR (updated for commit 4ee5cbe):

https://angeleno-my-account-dev-402917--pr97-ghi63-reuse-token-fm8dh8wy.web.app

(expires Thu, 11 Apr 2024 22:28:10 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: ef7f92b444e46d3ebe3d59054b9a245afee849f5