Skip to content

How to handle 401 unauthorized error on jwt route #66

Description

@enzolry

If for some reason the credentials have expired or the domain making the request has not been whitelisted, we get a 401 Unauthorized error on the jwt authentication request. But I couldn't find any example on how to handle this kind of error properly, like in a global document event like "adobe_dc_view_sdk.error" for example or as an error callback in the configuration object.

The real problem is that when this Unauthorized error occurs, the embedded Adobe view conflicts with the text inputs, so that when I click on an input to write text, the input immediately loses focus, making it impossible to write anything!

Image

Image

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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