Page 2 of 3

REST service Basic Authentication

Posted: Tue Nov 01, 2011 8:14 am
by nmayeur

I just sent you the URL and authentication mechanism to you support email.
Thx.


REST service Basic Authentication

Posted: Tue Nov 01, 2011 12:04 pm
by maxkatz

Got it, thanks.


REST service Basic Authentication

Posted: Fri Nov 04, 2011 3:51 pm
by Javier

I have the same problem. I can't access to my REST service backend.

I also sent my URL to a href="mailto:support@gotiggr.com" rel="nofollow"support@gotiggr.com/a

Thanks in advance


REST service Basic Authentication

Posted: Fri Nov 04, 2011 3:52 pm
by maxkatz

Just replied to your email. I will do a blog post so that everyone knows how it works.


REST service Basic Authentication

Posted: Sat Nov 05, 2011 12:20 am
by maxkatz

Blog post that explains this: http://blog.gotiggr.com/2011/11/rest-...


REST service Basic Authentication

Posted: Sun Jun 03, 2012 5:48 am
by axelr

With the help of the blog post 'Basic access authentication' and a calculated default value for the Authorization request header parameter ('Basic ...') I am now able to test the connection! But when I test the application I still got '401 Authorization Required'. Even if I am using the hard coded value for the parameter.
An analysis of the request with Firebug shows the correct header parameter - unfortunatly not the value (I guess this is a firebug limitation); but based on some JS debugging I assume that the value is also correct.
Any ideas?
Thanks in advance.


REST service Basic Authentication

Posted: Sun Jun 03, 2012 9:27 pm
by maxkatz

I tried the service that you sent to support. The service doesn't support cross-domain class, so you need to enable Tiggzi Proxy. It works then.

Here is more information:
http://help.tiggzi.com/documentation/...


REST service Basic Authentication

Posted: Mon Jun 04, 2012 6:31 am
by axelr

Yes, this is the reason! In general this is obvious but due to the fact that I was able to 'Test Connection' to the REST service, I was a little confused.

Just an idea: As I see Tiggzi as a tool primary for non technician, is it possible to check the REST service for cross-domain support in Tiggzi (during the 'Test connection') and give a corresponding hint?


REST service Basic Authentication

Posted: Mon Jun 04, 2012 9:16 am
by axelr

Yes, this is the reason! In general this is obvious but due to the fact that I was able to 'Test Connection' to the REST service, I was a little confused.

Just an idea: As I see Tiggzi as a tool primary for non technician, is it possible to check the REST service for cross-domain support in Tiggzi (during the 'Test connection') and give a corresponding hint?


REST service Basic Authentication

Posted: Mon Jun 04, 2012 3:23 pm
by maxkatz

Interesting idea.. I'll check if that can be implemented.

The Test Connection works is because the request is not being made from a page, it goes through Tiggzi server -- basically the proxy. Only when a request is made from a page, cross-domain security comes into play.

I wouldn't say that Tiggzi is for non-technical people. It is very easy to use and build apps but you still need to have at least some basic understanding of HTML, JavaScript and REST.