You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by "Hoang Minh Tien (JIRA)" <ji...@apache.org> on 2012/10/04 11:55:07 UTC

[jira] [Commented] (WOOKIE-381) oAuth feature does not work for Google APIs

    [ https://issues.apache.org/jira/browse/WOOKIE-381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13469257#comment-13469257 ] 

Hoang Minh Tien commented on WOOKIE-381:
----------------------------------------

Thanks Matthias. The exact match return URL check of Google is not suitable for current implementation of oauth feature. I think of using oauth need a separate context path to handle oauth response, that would be also a preparation to support other oauth profiles in the future. It will take some time to implement it.
                
> 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