|
|
|
|
|
by crabmusket
317 days ago
|
|
> sign a JWT per request That's interesting - why do it this way rather than including a "reusable" signed JWT with the request, like an API token? Why sign the whole request? What does that give you? Also what made that API so nice? Was this a significant part of it? |
|
Supposedly bearer tokens should be ephemeral, which means either short-lived (say single-digit minutes) or one-time use.
This was supposed to be the way bearer tokens were supposed to be used.
> What does that give you?
Security.
https://en.wikipedia.org/wiki/Session_hijacking