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

Auth state does not update in expired state #2098

Description

@elfdie00475

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions