Google Sign in component
Google Sign in -Vaadin 10 component
Vaadin 10 Java integration of Google Sign in -webcomponent https://github.com/GoogleWebComponents/google-signin
To use this, you need Google Client Id, for instructions see: https://developers.google.com/identity/sign-in/web/sign-in
(In short, you need to create an app in https://console.developers.google.com and get id from there, also if you want to use this in a real server, you need allow domain and prove that you own the domain, but in development at localhost, only the client id is enough)
Sample code
GoogleSignin signin = new GoogleSignin(MY_GOOGLE_CLIENT_ID); signin.addLoginListener(event -> { Notification.show("Welcome, " + event.getFirstName()); });
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
A Google Sign In version, that fixes issues version 1.0.0 had with Vaadin versions above 10.0.0.beta10
- Released
- 2018-08-08
- Maturity
- EXPERIMENTAL
- License
- Apache License 2.0
Compatibility
- Framework
- Vaadin 10+
- Browser
- Firefox
- Opera
- Google Chrome
- Microsoft Edge
Google Sign in component - Vaadin Add-on Directory
Google Sign in -Vaadin 10 componentLink to source code
Demo
Google Sign in component version 1.0.1
A Google Sign In version, that fixes issues version 1.0.0 had with Vaadin versions above 10.0.0.beta10