|
|
|
|
|
by modeless
668 days ago
|
|
I know they call it a nonce but how important is it to invalidate it instantly on first use? It's important for it to be unguessable, of course. But what security property does the invalidation serve? If an attacker can get the nonce they can just as easily get the access tokens after authentication, can't they? |
|
> If an attacker can get the nonce they can just as easily get the access tokens after authentication, can't they?
That's not the case. A js injection would usually lead to read access on the current page but not the next one.