This repository has been archived by the owner on Sep 15, 2022. It is now read-only.
How the Payload will get converted in the JWT Token ? #175
Labels
closed:stale
Issue or PR has not seen activity recently
Hi, I am new to this . I have used following code for the interceptors
**jwtOptionsProvider.config({
tokenGetter: function() {
return localStorage.getItem("AuthToken");
},
});
With this code I am able to send that authorization bearer token in every request . But,
For some requests I have a payload to send back-end. So, the request is like
**addTodata: function (ontologyName, currentNode, orphan, type) {
var config = {};
config.headers = {
"Content-Type": "application/json",
Now, When this request goes that time the authorization token goes but jsonData is not getting in the JWT token. It is still going as a Request Payload . How will it get converted in the JWT
The text was updated successfully, but these errors were encountered: