Context header coming as an strange object #1048
Answered
by
henrique73
henrique73
asked this question in
Q&A
-
I'm Using Node, Typescript and Apollo Server So I'm trying to get a JWT token from the header, and it's coming as an object, that lists every character The ResponseString { '0': '"', '1': 'e', '2': 'y', '3': 'J', '4': 'h', '5': 'b', '6': 'G', '7': 'c', '8': 'i', '9': 'O', '10': 'i', '11': 'J', '12': 'I', '13': 'U', '14': 'z', '15': 'I', '16': '1', '17': 'N', '18': 'i', '19': 'I', '20': 's', '21': 'I', '22': 'n', '23': 'R', '24': '5', '25': 'c', '26': 'C', '27': 'I', '28': '6', '29': 'I', '30': 'k', '31': 'p', '32': 'X', '33': 'V', '34': 'C', '35': 'J', '36': '9', '37': '.', '38': 'e', '39': 'y', '40': 'J', '41': '1', '42': 'c', '43': '2', '44': 'V', '45': 'y', '46': 'X', '47': '2', '48': 'l', '49': 'k', '50': 'I', '51': 'j', '52': 'o', '53': 'i', '54': 'Z', '55': 'm', '56': 'J', '57': 'h', '58': 'Y', '59': 'j', '60': 'k', '61': '0', '62': 'N', '63': 'z', '64': 'M', '65': 't', '66': 'N', '67': '2', '68': 'E', '69': '1', '70': 'O', '71': 'C', '72': '0', '73': '0', '74': 'M', '75': 'T', '76': 'I', '77': '2', '78': 'L', '79': 'W', '80': 'F', '81': 'm', '82': 'Z', '83': 'D', '84': 'A', '85': 't', '86': 'N', '87': 'G', '88': 'V', '89': 'h', '90': 'Z', '91': 'm', '92': 'Q', '93': '1', '94': 'N', '95': 'z', '96': 'V', '97': 'k', '98': 'N', '99': 'z' }The Apollo Server Configuration
The Resolver
|
Beta Was this translation helpful? Give feedback.
Answered by
henrique73
Sep 27, 2021
Replies: 1 comment
-
Oh I've figured it out, it was a typescript problem, sorry |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
henrique73
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Oh I've figured it out, it was a typescript problem, sorry