Skip to content

Fix the error handling(messaging) and the way remote requests are made to the backend API #1

Description

@ParrotStone

Add code to support the UI when the backend API either crashes, or respond with an error not planned for(unexpected error).

Here are some snippets of code as a starter guides

image


image


TODOs:

  • Configure the request headers to always send the Authorization header when the user is logged in to the backend API with every call.
  • Configure the front-end to store the access/refresh tokens securely out of the local storage to avoid XSS attacks

Activity

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions