Skip to content

Commit

Permalink
Vale fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
russelljtdyer committed Sep 30, 2024
1 parent ee628d2 commit 1aeabb1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Vaadin follows the "Synchronizer Token Pattern". See the link:https://cheatsheet

UIDL requests are protected by `Vaadin-Security-Key` CSRF token. WebSocket requests are protected with `Vaadin-Push-ID` CSRF token.

This key is generated by Vaadin per UI instance -- Vaadin 10 is an exception in that the key is generated per session. It's sent to the browser as a part of UIDL JSON string included in the bootstrap response (i.e., initial HTML page) from the server. The key is sent by the server to the client only once per opened browser tab, and not repeated in each response. When the page is refreshed or the user opens a new tab, another key is generated by Vaadin and sent to the browser.
This key is generated by Vaadin per UI instance -- version 10 is an exception in that the key is generated per session. It's sent to the browser as a part of UIDL JSON string included in the bootstrap response (i.e., initial HTML page) from the server. The key is sent by the server to the client only once per opened browser tab, and not repeated in each response. When the page is refreshed or the user opens a new tab, another key is generated by Vaadin and sent to the browser.

Here's an example of sending CSRF tokens to the client, with other data omitted:

Expand Down

0 comments on commit 1aeabb1

Please sign in to comment.