Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

login overlay component

Rafal Kozyra
2 years ago Feb 24, 2020 11:45am
Olli Tietäväinen
2 years ago Feb 24, 2020 12:35pm
Tarek Oraby
2 years ago Feb 24, 2020 12:57pm
Rafal Kozyra
2 years ago Feb 24, 2020 1:52pm
Simon Faust
2 years ago May 11, 2020 10:27am

My need was to add a Link for SSO Login to the Form. My LoginView extends LoginOverlay. The following worked:

Anchor ssoLink = new Anchor(appUrl + "saml/login", "Login with SSO");
getElement().appendChild(ssoLink.getElement());
getElement().executeJavaScript("document.querySelector('form').appendChild(document.querySelector('a'))");
Last updated on May, 11th 2020
Giacomo Scaparrotti
2 years ago Aug 28, 2020 8:23am