[
https://issues.apache.org/jira/browse/WOOKIE-381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13471009#comment-13471009
]
Hoang Minh Tien commented on WOOKIE-381:
----------------------------------------
The bug is fixed with rev1395049
You may like to play around with some other optional parameters:
popupWidth (default 400px), popupHeight (default 500px) to define the with and
height of authorization request popup window
persist (default true): the token will be saved in db and can be shared between
the same widget instance which located in different container. if this value is
false, token will not be persisted and can't be shared.
the return url registered has the forms:
http://your_wookie_server/wookie/features/oauth/implicit (for implicit grant).
> oAuth feature does not work for Google APIs
> -------------------------------------------
>
> Key: WOOKIE-381
> URL: https://issues.apache.org/jira/browse/WOOKIE-381
> Project: Wookie
> Issue Type: Bug
> Components: Feature Management
> Affects Versions: 0.14.0
> Environment: Windows 7, Chrome
> Reporter: Matthias Niederhausen
> Attachments: chrome.PNG
>
>
> I tried to authenticate at Google using the oauth feature with the following
> configuration:
> <feature name="http://oauth.net/2" required="true">
> <param name="clientId"
> value="806655260788.apps.googleusercontent.com" />
> <param name="authzServer"
> value="https://accounts.google.com/o/oauth2/auth" />
> <param name="scope" value="https://www.google.com/m8/feeds" />
> </feature>
> and starting the process using oAuth.authenticate()
> The login popup opens just fine and I can allow the application to access the
> data, but when I get redirected (to wookie?), I get a javascript alert window
> "Error!" and the window closes just afterwards. The error alert prevents me
> from inspecting any closer, but I managed to create a screenshot of the
> Chrome console with the error stacktrace.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira