Skip to content
This repository was archived by the owner on Feb 2, 2025. It is now read-only.

Unauthorized Requests  #279

@victorleal

Description

@victorleal

I'm using angular-datatables with server-side processing and Angular http interceptors to handle session expiring. It works with the requests made to the API normally, but the requests made by Datatables are not intercepted, and I just can't get any information from the server saying that the user has to log in again.

Instead, jQuery logs on the console a 401 error, but Angular does not catch it, and the application gets broken.

Any idea here? I think that a lot of people can have the same trouble, regarding that we use Angular with an API providing the data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions