Skip to content

Token Refresh Failing Silently - Causing CompactToken parsing failed with error code: 80049217 #198

@NoPhaseNoKill

Description

@NoPhaseNoKill

Bug Report

  • [N ] Can you reproduce the problem?
  • [2.0.0-Preview.1] Are you running the latest version?
  • [Y ] Are you reporting to the correct repository?
  • [N ] Did you perform a cursory search?

Description

Intermittent issue. After a certain amount of time, it looks like the auth token is expiring. However, when the token has expired, it is still trying to silently log-in, and not prompting user to re-log and/or refresh the token. Error being returned to error token: AADSTS50058: A silent sign-in request was sent but no user is signed in.

This means that when that same user goes to make a request to any graph endpoint, they get 403: CompactToken parsing failed with error code: 80049217.

Request header when 403 error comes contains: Bearer undefined - indicating that the issue stems from the failed refresh/not prompting user to re-auth - with this end error message being the result.

Console Errors:
403: CompactToken parsing failed with error code: 80049217

Expected behavior: [What you expected to happen]
Expect user to be prompted to re-auth/log-in after token expires.
Actual behavior: [What actually happened]
Does not prompt user to re-auth or log-in, and fails auth silently.

edit: clarity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions