Page 2 of 3

ADVANCED AUTHENTICATION FOR REST SERVICE

Posted: Thu Mar 15, 2012 10:19 pm
by Michael Klauss

Please Max!

I need to your help!

Can you read the api to undestand?

http://riodatamine.com.br/#/api

I VERY VERY urgent for me!

Thank you very much, again!


ADVANCED AUTHENTICATION FOR REST SERVICE

Posted: Thu Mar 15, 2012 10:22 pm
by maxkatz

Where is the link to API docs in English?


ADVANCED AUTHENTICATION FOR REST SERVICE

Posted: Fri Mar 16, 2012 4:16 am
by Michael Klauss

Hi Max,

I translated the api docs to English!

I sent to support email, ok?!

Thank VERY much again!


ADVANCED AUTHENTICATION FOR REST SERVICE

Posted: Fri Mar 16, 2012 4:27 am
by maxkatz

Yes, I got it. We are working on this...


ADVANCED AUTHENTICATION FOR REST SERVICE

Posted: Fri Mar 16, 2012 4:38 pm
by Michael Klauss

Hi Max,

I do not know what time it is in your country.

Here in Brazil: 13:30h.

We have good news????

I ́m trying find a solution...but i think Tiggzi don ́t have support to connect to Rest Services with oAuth security context!

But i need to say again...it ́s MUCH of important to me. I really need to connect to this RestService the more fast possible!

Please Help me!!!

I know you are working to resolve my problem..and you are giving me a lot attention...

Thank you very much, again!

Att,
Marco Combat.

From Brazil - Rio de Janeiro


ADVANCED AUTHENTICATION FOR REST SERVICE

Posted: Fri Mar 16, 2012 9:11 pm
by maxkatz

Well.. turns out it's pretty straight forward. The service does return the token in response header. Your service is setup correctly, you just need to read the token value from the response. You can do it on service's complete event:

code
jqXHR.getResponseHeader('X-Access-Token'));
/code

What's interesting, it worked once for me:
Image

but then stopped working. I don't get the token in the header anymore. Did you make any changes to the service?


ADVANCED AUTHENTICATION FOR REST SERVICE

Posted: Fri Mar 16, 2012 10:18 pm
by Michael Klauss

Hi Max!

I ́m very very happy because you are helping me!

Sorry, but my english isn ́t so good.

I don ́t have adm control in this service. This service provide information about my city.

I didn ́t understood the javascript. Did you saved the" X-Access-Token " in a local variable to pass to another call service?


ADVANCED AUTHENTICATION FOR REST SERVICE

Posted: Fri Mar 16, 2012 10:23 pm
by Michael Klauss

I ́m connect to my projetc now. I only have one project!

Can you connect to colaborate in my project to show me what can i have to do to get this token?

Thank you Max!


ADVANCED AUTHENTICATION FOR REST SERVICE

Posted: Fri Mar 16, 2012 11:13 pm
by maxkatz

Share the app for collaboration with a href="mailto:support@tiggzi.com" rel="nofollow"support@tiggzi.com/a


ADVANCED AUTHENTICATION FOR REST SERVICE

Posted: Fri Mar 16, 2012 11:30 pm
by Michael Klauss

Shared!

Thanks Max!