Skip to content

ra-data-hasura: lazy header #2771

Closed
Closed
@heyrict

Description

Currently, updating cookie or localStorage in authProvider will not update the headers in hasuraDataProvider in ra-data-hasura.

Since header contents can have authentication information stored in cookies or localStorage sometimes, may be we can add a callable as the headers argument aside from a constant object. Using httpClient similar to simpleRestProvider described here as the second argument is also acceptable.

Activity

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

Metadata

Assignees

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