Directory

OAuth2 Popup Add-on - Vaadin Add-on Directory

Embed OAuth authorization flows into your Vaadin application. OAuth2 Popup Add-on - Vaadin Add-on Directory
# OAuth Popup Add-on for Vaadin 7.1+ Add [OAuth](http://en.wikipedia.org/wiki/OAuth) support to your Vaadin applications by embedding a button that does the work for you. This addon uses the terrific [Scribe](https://github.com/scribejava/scribejava/) library under the covers, which supports all major OAuth services out-of-the-box. The API for this add-on aims to make configuration as simple as possible without hiding any functionality to allow fine-tuning for unsupported OAuth services. The button provided by this add-on opens a popup window which handles the OAuth authentication. Since the OAuth dialog is opened in a separate window, **the application should enable [server push](https://vaadin.com/book/vaadin7/-/page/advanced.push.html)**. Otherwise the actual application UI will not be updated when the OAuth window has been closed. ### NOTE This project was forked from @ahn's initial implementation and is available as a separate add-on in the Vaadin Directory ([http://vaadin.com/addon/oauth-popup-add-on](http://vaadin.com/addon/oauth-popup-add-on)). Major differences between the two projects include: - Use of the latest Scribe library to support all major OAuth 1.0a and 2.0 services out-of-the-box. - Add extensive Javadoc documentation. - Add flexibility allowing fine-grained control of OAuth parameters. - Create an OAuth Popup button for any OAuth API supported by Scribe without subclassing.
Issue Tracker
Source Code

OAuth2 Popup Add-on version 0.0.5
null

OAuth2 Popup Add-on version 0.1.0
- Add OAuth2StateInjector to appropriately handle callback IDs for OAuth 2.0 services. - Remove hard-coded API keys from demo. - Fixes for Gradle vaadinRun task

OAuth2 Popup Add-on version 1.0.0
- Upgrade to Vaadin 8 - Add support for url based popup for use in conjuction with UIs annotated with @springui