Skip to content

Prevent showing api response errors in browsers when these are not important for the end user #2

@filipblnt

Description

@filipblnt

When connecting a user for the first time, the response from the api is error since the user does not exist. This is fine because when connect is called for the first time for a user, it first tries to obtain the user's encrypted keys from the blindnet system. If it fails, the SDK assumes the user is not in the blindnet system and calls the endpoint to register a new user.
However, this error will show in the browser network and might confuse the user.

zinaiKee5a

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