Skip to content

How to use JWT authentication #1446

Answered by ricmoo
emclab asked this question in Q&A
Apr 9, 2021 · 8 comments · 2 replies
Discussion options

You must be logged in to vote

Yes. Ethers doesn’t have built in parsing for JWT. You probably want:

{
  Authorization: `Bearer ${ tokenBesu }`
}

Replies: 8 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by emclab
Comment options

You must be logged in to vote
2 replies
@emclab
Comment options

@ricmoo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1444 on April 10, 2021 04:55.