#1 2016-08-29 07:04:02

reg4app
Member
Registered: 2016-05-16
Posts: 147

How to use the OAuth protocol from App Builder apps?

how can i  fulfil oauth in AB,any ideas?


Joshua.Y

Offline

#2 2016-08-29 12:33:24

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,660
Website

Re: How to use the OAuth protocol from App Builder apps?

Hello Joshua,

Honestly I never try with OAuth, however, I think we can achieve that by using HTTP calls from our apps. So please, do you have some service or API in order to try it? Or may you try it right now and find something wrong or certain specific problem?

Offline

#3 2016-08-29 15:17:20

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,660
Website

Re: How to use the OAuth protocol from App Builder apps?

Hello Joshua,

I am playing a bit with this OAuth question and finally discover than probably we can authenticate our applications using such protocol just by the appropiate HTTP calls. However, when I try with the Twitter API, I found the CORS problem appear. Which this means? Well. In fact our application must connect to our own server in order to deal with the Twitter API.

Then we need some kind of "bridge" in our own app's server in order to overpass the CORS limitation, and, since this is like that, yes, we need a way to authenticate with the Twitter API via OAuth, but not from our application code, but from the server code. Our applications (as always) just must to perform the appropiate HTTP calls and take care about the server responses.

In principle this latest one (organize our server to perform OAuth autentications) can be perfectly achieved, since we have OAuth libraries availables for use with many languages, for example, here is a guide for OAuth using the PHP language, and we can found lot of more stuff in GitHub, for example.

Offline

#4 2016-08-30 03:10:31

reg4app
Member
Registered: 2016-05-16
Posts: 147

Re: How to use the OAuth protocol from App Builder apps?

oh ,I get it,maybe I make a OAuth server myself later to do more test


Joshua.Y

Offline

#5 2016-08-30 08:13:47

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,660
Website

Re: How to use the OAuth protocol from App Builder apps?

Hello Joshua,

Ok! Please, let me know if I can help in something. smile

Offline

Board footer

Powered by FluxBB


Copyright ©2018 DecSoft. All rights reserved.