Open Artur- opened 3 years ago
Needs to be defined:
index.html
response content)The logoutUrl is an example of server runtime configuration, so it is practically not available on build time.
Other related use cases:
Note that we have a global namespace Vaadin.TypeScript
populated in the index.html
script. One idea is to use it for sending the properties, and define a user-facing API around it for accessing those from TypeScript.
Let’s make a 3-day research to define and prototype the unknowns here.
Description of the bug
After doing
logout()
you typically want to refresh or redirect to another URL so that the user does not remain on a page she does not have access to. In the Spring Security configuration you provide a "logout URL" which is the URL to redirect to after logout. This URL should be available on the client side. Right now you need to manually enter it in the client side code.Versions: