auth token
I am trying to send the request usint useTable but i need to pass the auth token everytime how to fix it?
2 Replies
Hi @dc_alexyt. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
After implementing the authentication process, you need to inform the data provider about the authentication credentials. You can do this by sending the authentication credentials with the request. For example, after obtaining the authentication token, you can store it in cookies and send it with every request.
Here is an example of how you can use the
useTable
hook:
For more information on how to use authentication with data provider, you can check out the data fetching guide (https://refine.dev/docs/guides-concepts/data-fetching/#authentication-).
Source: Refine Documentation (https://refine.dev/docs/guides-concepts/authentication#usage-with-data-provider-)
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------<@398749213795680259> kapa.ai is still learning and improving, please let us know how it did by reacting below