Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Auth state does not update in expired state #2098

Open
2 of 8 tasks
elfdie00475 opened this issue Aug 29, 2023 · 0 comments
Open
2 of 8 tasks

Auth state does not update in expired state #2098

elfdie00475 opened this issue Aug 29, 2023 · 0 comments

Comments

@elfdie00475
Copy link

elfdie00475 commented Aug 29, 2023

IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.

Briefly summarize your issue:

The auth state does not change after auth token is expired.
When AVS does not get the new token, the auth state will be changed from REFRESHED to EXPIRED.
Then, let the AVS get the new token. I can see that the token will be changed but the state is not changed back to REFRESHED.

What is the expected behavior?

  1. The token will be updated in LWAAuthorizationAdapter
  2. Auth state will be changed from EXPIRED to REFRESHED in AuthorizationManager
  3. Auth state will be changed from EXPIRED to REFRESHED in SampleApp

What behavior are you observing?

  1. The token will be updated in LWAAuthorizationAdapter
  2. Auth state is still EXPIRED in AuthorizationManager
  3. Auth state is still EXPIRED in SampleApp

Provide the steps to reproduce the issue, if applicable:

  1. Start the AVS normally
  2. Disconnect the network about 2 hours
  3. Re-connect the network, and check the auth state in SampleApp

Tell us about your environment:

What version of the AVS Device SDK are you using?

  <1.26.0>

Tell us what hardware you're using:

  • Desktop / Laptop
  • Raspberry Pi
  • Other - tell us more: Linux system set top box

Tell us about your OS (Type & version):

  • Linux
  • MacOS
  • Raspbian Stretch
  • Raspbian Jessy
  • Other - tell us more:
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant