Change to JWT Decode to include header
This commit is contained in:
parent
411f78d27a
commit
2058f8a1eb
@ -46,8 +46,8 @@ class JWTDecode extends Operation {
|
||||
json: true,
|
||||
complete: true
|
||||
});
|
||||
|
||||
return decoded.payload;
|
||||
|
||||
return {header: decoded.header, payload: decoded.payload};
|
||||
} catch (err) {
|
||||
throw new OperationError(err);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user