nmayeur
Posts: 0
Joined: Mon Oct 31, 2011 3:47 pm

REST service Basic Authentication

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

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

REST service Basic Authentication

Got it, thanks.

Javier
Posts: 0
Joined: Fri Nov 04, 2011 3:51 pm

REST service Basic Authentication

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

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

REST service Basic Authentication

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

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

REST service Basic Authentication

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

axelr
Posts: 0
Joined: Sat Jun 02, 2012 7:06 pm

REST service Basic Authentication

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.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

REST service Basic Authentication

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/...

axelr
Posts: 0
Joined: Sat Jun 02, 2012 7:06 pm

REST service Basic Authentication

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?

axelr
Posts: 0
Joined: Sat Jun 02, 2012 7:06 pm

REST service Basic Authentication

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?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

REST service Basic Authentication

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.

Return to “Issues”