Skip to content

Possible to pass a JWT token to tasks? #1454

Answered by EngHabu
gigi-at-zymergen asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @gigi-at-zymergen,
Thank you for your question. I agree with Ketan. I would like to go a couple of steps back and revisit the security model...

JWT tokens are bearer token. They offer no inherit security mechanism that proves ownership of the JWT token. The best way you secure them is by NOT sharing them. They are issued by an identity provider (IdP) to be used by X to talk to Y. They should not be passed by X to Z because that just breaks the security model fundamentally... If they are intended for Z to use them, then IdP should deliver them to Z directly (through AuthCode OAuth2 flow or encryption or similar).

In your scenario, how does the edge service generate/issue such a JWT tok…

Replies: 3 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
Answer selected by gigi-at-zymergen
Comment options

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

@gigi-at-zymergen
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
3 participants