- From: Melvin Carvalho <melvincarvalho@gmail.com>
- Date: Sat, 10 May 2014 00:49:50 +0200
- To: Kingsley Idehen <kidehen@openlinksw.com>
- Cc: public-rww <public-rww@w3.org>
- Message-ID: <CAKaEYhJ5gBHeoF5wFo1WzcXtmZUryiv+J2T2=EqdBnLED3WhQg@mail.gmail.com>
On 10 May 2014 00:42, Melvin Carvalho <melvincarvalho@gmail.com> wrote:
>
>
>
> On 9 May 2014 15:39, Kingsley Idehen <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>wrote:
>>
>>> Andrei,
>>>
>>> Here is a dump from the verifier (Henry's I believe) that's integrated
>>> into 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
>
>>
>> Please note, before I would indicate there's a problem with WebID-TLS I
>> would have performed the following basic verification tests:
>>
>> 1. attempt to verify using at least two WebID-TLS verification services
>> 2. ensure the relation for indicating data storage location is in place.
>>
>> Links:
>>
>> [1] http://id.myopenlink.net/c/CHKJ6Y -- output from our own Web-TLS
>> verifier which (like Henry's) successfully verifies the WebID in question
>> via claims in its associated profile document .
>>
>>
>> --
>>
>> 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 Friday, 9 May 2014 22:50:19 UTC