ahn / vaadin-oauthpopup Goto Github PK
View Code? Open in Web Editor NEWOAuth Popup Add-on for Vaadin 7.1+
License: Apache License 2.0
OAuth Popup Add-on for Vaadin 7.1+
License: Apache License 2.0
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.
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.)
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
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.
Used maven archetype to get a Vaadin v.7.5.1 project working. Couldn't get this addon to work until I added the vaadin-client-compiled maven dependency.
This renders the addon useless ...
You can see the error at http://www.nuuzee.com:20101/Desktop/
Many other users are also experiencing this issue since the change has been done on Facebook's side
How would one retrieve the facebook profile pic of a user with this addon? I'm not getting where the api request should go.
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.
Hello,
I have copied demo code into my project and it compiles, but when I click Facebook button this error is shown.
Failed to load the bootstrap javascript: ./../VAADIN/vaadinBootstrap.js?v=7.6.4
Has anyone had this error?
I'm using VAADIN + Spring Boot + Maven
Thanks.
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.