W3C home > Mailing lists > Public > public-rww@w3.org > May 2014

Re: WebID and CIMBA Issues

From: Kingsley Idehen <kidehen@openlinksw.com>
Date: Sat, 10 May 2014 11:01:11 -0400
Message-ID: <536E3F37.4000201@openlinksw.com>
To: public-rww@w3.org
On 5/9/14 6:49 PM, Melvin Carvalho wrote:
>
>
>
> On 10 May 2014 00:42, Melvin Carvalho <melvincarvalho@gmail.com 
> <mailto:melvincarvalho@gmail.com>> wrote:
>
>
>
>
>     On 9 May 2014 15:39, Kingsley Idehen <kidehen@openlinksw.com
>     <mailto:kidehen@openlinksw.com>> wrote:
>
>         On 5/8/14 8:27 PM, Andrei Sambra wrote:
>>         Hi Kingsley,
>>
>>
>>         On Thu, May 8, 2014 at 6:47 PM, Kingsley Idehen
>>         <kidehen@openlinksw.com <mailto:kidehen@openlinksw.com>> wrote:
>>
>>             Andrei,
>>
>>             Here is a dump from the verifier (Henry's I believe)
>>             that's integrated into cimb.co <http://cimb.co>.
>>             Basically, my WebID authenticates successfully, but I
>>             can't login to cimba.
>>
>>
>>         What do you mean by "can't login to cimba"? Does logging into
>>         https://test.rww.io/ work?
>
>         Yes it works.
>
>
>>         Worst case scenario, can you please provide a screenshot?
>>
>>         Thanks!
>
>         It simply states: WebID-TLS Authentication failed.
>
>
>     I was looking through the code
>
>     It seems to do the login here:
>
>     https://github.com/linkeddata/signup/blob/master/index.html#L292
>
>
>     $http({
>     url: "https://rww.io/",
>
>
>     method: "HEAD",
>
>     headers: { 'Accept': '*/*' }, // Firefox misbehaves if we don't
>     set the Accept header
>
>
>     withCredentials: true, // This seems to break WebID-TLS login
>     (using random certs)
>
>
>     }).success(function(data, status, headers, config) {
>
>
>     var user = headers('User'); // look for User: header
>
>
>     if (user && $scope.getParam('ref'))
>
>
>     parent.postMessage('User:'+headers('User'),$scope.getParam('ref')); //
>     pass WebID to the parent window
>
>
>     }).error(function(data, status, headers, config) {
>
>
>     var user = headers('User');
>
>
>     if (user && $scope.getParam('ref'))
>
>
>     parent.postMessage('User:'+headers('User'),$scope.getParam('ref'));
>
>
>     });
>
>
>     Note:
>
>     *headers: { 'Accept': '*/*' }, // Firefox misbehaves if we don't
>     set the Accept header*
>     *withCredentials: true, // This seems to break WebID-TLS login
>     (using random certs)*
>
>     Which browser are you using?
>
>
> I tried this with curl
>
> -X HEAD \
> --key <path-to-your-cert.pem> \
> -E <path-to-your-cert.pem> \
> https://rww.io/
>
> And I get back:
>
> User: http://melvincarvalho.com/#me

Safari, IE so far.

I will now try Chrome and Firefox.

Of course, I wasn't expecting this to be browser specific. I expect it 
to work with all browsers.

-- 

Regards,

Kingsley Idehen	
Founder & CEO
OpenLink Software
Company Web: http://www.openlinksw.com
Personal Weblog: http://www.openlinksw.com/blog/~kidehen
Twitter Profile: https://twitter.com/kidehen
Google+ Profile: https://plus.google.com/+KingsleyIdehen/about
LinkedIn Profile: http://www.linkedin.com/in/kidehen





Received on Saturday, 10 May 2014 15:01:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:10:46 UTC