Can u please give me a detail example of how to pass authorization token in j query data table header.
inside the site or to the external site?
For your issue ,below are my suggestion:
If the authorization token is retrieved from server side,you can use ajax to call the webmethod in the server side ,and get the authorization token ,set it to the jquery data table header.
Here is a working demo for how to use ajax call web service: