Embed OAuth authorization flows into your Vaadin application.

OAuth Popup Add-on for Vaadin 7.1+

Add OAuth support to your Vaadin applications by embedding a button that does the work for you. This addon uses the terrific Scribe 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. 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). 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.

Install

Link to this version
StableReleased 25 May 2017Apache License 2.0
Framework Support
Vaadin 8.0+
Also supported:
Vaadin 7 (0.1.0)
Install with
Release notes - Version 1.0.0
  • Upgrade to Vaadin 8
  • Add support for url based popup for use in conjuction with UIs annotated with @springui