Giter VIP home page Giter VIP logo

vaadin-oauthpopup's People

Contributors

ahn avatar livotov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

vaadin-oauthpopup's Issues

OAuth-Popup v. 0.0.2 seems not available on Addons repository

Just wanted to check your plugin and wanted it integrate into my build by means of Gradle. Got following error:
Using Gradle Vaadin Plugin 0.6.5
:compileJava
FAILURE: Build failed with an exception.

  • What went wrong:
    Could not resolve all dependencies for configuration ':compile'.

    Could not find org.vaadin.addons:oauthpopup:0.0.2.

I don't know a way to browse the Addons-repository (http://maven.vaadin.com/vaadin-addons) but it seems it is not available there. (If I integrate just another Addon in the same way it works.)

Add GoogleButton / Missing scope

Hello,

When adding a button for Google API, it's not working easily : it's missing the scope parameter.
Scope cannot be set directly, because OAuthPopupButton.OAuthPopupOpener is private and has no getter.

Regards

Pass OAuth2 access token raw response to the application

When OAuth completes, vaadin-oauthpopup takes only access token and secret from the OAuth response. However, the entire response may also contain some usefu lidentification data, such as user-id or e-mail - this can be very handy for the target vaadin application.

Profile pic?

How would one retrieve the facebook profile pic of a user with this addon? I'm not getting where the api request should go.

Add support for Google OAuth2

The add-on don't work out of the box (at least very stable) with Google OAuth2 (aka google plus authentication). The problem is that the response hook is dynamic (increasing number in the address).

My solution was just to make the response address static:
mstahv@b409b34

Don't know if it is a properly working generic solution, but works for me.

Upgrade to ScribeJava 2.4.0

This library is quite behind the current ScribeJava release (1.3.7 vs 2.4.0), which has greatly expanded support for both OAuth 1.0a and 2.0. The ScribeJava API has been refactored to a large extent which will require significant change to this addon.

The latest ScribeJava API also adds functionality to control the standard OAuth parameters sent to services, which should be exposed through this addon to allow more flexibility to the user.

The button doesn't get added

I recreated the demo app in a new Vaadin 7.6.1 project, with just the Facebook button. It simply does not show up on the screen. I have the @Push annotation activated and everything. The console is showing this type of stuff:

Feb 01, 2016 7:16:37 PM org.atmosphere.container.JSR356Endpoint onError
SEVERE: 
java.io.IOException: java.util.concurrent.ExecutionException: java.io.IOException: Unable to write the complete message as the WebSocket connection has been closed
    at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessageBlock(WsRemoteEndpointImplBase.java:282)
    at org.apache.tomcat.websocket.WsSession.sendCloseMessage(WsSession.java:584)
    at org.apache.tomcat.websocket.WsSession.doClose(WsSession.java:488)
    at org.apache.tomcat.websocket.WsSession.close(WsSession.java:455)
    at org.apache.tomcat.websocket.WsWebSocketContainer.destroy(WsWebSocketContainer.java:929)
    at org.apache.tomcat.websocket.server.WsServerContainer.destroy(WsServerContainer.java:285)
    at org.apache.tomcat.websocket.server.WsContextListener.contextDestroyed(WsContextListener.java:48)
    at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4857)
    at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5478)
    at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
    at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3824)
    at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:292)
    at org.apache.catalina.core.StandardContext.backgroundProcess(StandardContext.java:5616)
    at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1377)
    at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1381)
    at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1381)
    at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1349)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Unable to write the complete message as the WebSocket connection has been closed
    at org.apache.tomcat.websocket.FutureToSendHandler.get(FutureToSendHandler.java:102)
    at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessageBlock(WsRemoteEndpointImplBase.java:275)
    ... 17 more
Caused by: java.io.IOException: Unable to write the complete message as the WebSocket connection has been closed
    at org.apache.tomcat.websocket.WsSession.registerFuture(WsSession.java:658)
    at org.apache.tomcat.websocket.FutureToSendHandler.get(FutureToSendHandler.java:92)
    ... 18 more

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.