OAuth2

Hi there,

Does anyone have had any experience/success in using OAuth2 in Corona?

The only lua-script I’ve found was the following but I have no idea how to implement it.

https://github.com/ignacio/LuaOAuth/blob/master/src/OAuth2.lua

I desperately try to find a way to use OA2. Is there maybe a third-party tool or maybe even a website that could be used to do this requests?

When will OAuth2 (regarding the roadmap) be included in Corona and be ready to use?

Any help highly appreciated.

Roman

[import]uid: 140000 topic_id: 30284 reply_id: 330284[/import]

The Twitter sample app that comes with CoronaSDK uses oAuth (1.0). You should be able to modify that for what you need.

This Stack Overflow articles compares oAuth 2 with oAuth 1.
http://stackoverflow.com/questions/7561631/oauth-2-0-benefits-and-use-cases-why
[import]uid: 7559 topic_id: 30284 reply_id: 121504[/import]

Hello Roman,

Good job finding that library! I will see if I can get it working but if it does not work I found this website which someone else on these forums has claimed worked: http://corona.techority.com/2011/05/26/post-to-twitter-from-your-application/ [import]uid: 58749 topic_id: 30284 reply_id: 121563[/import]

The Twitter sample app that comes with CoronaSDK uses oAuth (1.0). You should be able to modify that for what you need.

This Stack Overflow articles compares oAuth 2 with oAuth 1.
http://stackoverflow.com/questions/7561631/oauth-2-0-benefits-and-use-cases-why
[import]uid: 7559 topic_id: 30284 reply_id: 121504[/import]

Hello Roman,

Good job finding that library! I will see if I can get it working but if it does not work I found this website which someone else on these forums has claimed worked: http://corona.techority.com/2011/05/26/post-to-twitter-from-your-application/ [import]uid: 58749 topic_id: 30284 reply_id: 121563[/import]

hey there,

thanks for your replies. In the meantime I realized that I can still use Oauth1 for my purposes. It will still be interessting in the future though… [import]uid: 140000 topic_id: 30284 reply_id: 123266[/import]

hey there,

thanks for your replies. In the meantime I realized that I can still use Oauth1 for my purposes. It will still be interessting in the future though… [import]uid: 140000 topic_id: 30284 reply_id: 123266[/import]

I found this while searching around today. I can’t speak for how well it works, but if you need oAUTH 2.0, it might be worth looking at:

https://concipiotechnicalsolutionsllc.selz.com/item/53dee69eb798720f0473a9e3

Rob

I found this while searching around today. I can’t speak for how well it works, but if you need oAUTH 2.0, it might be worth looking at:

https://concipiotechnicalsolutionsllc.selz.com/item/53dee69eb798720f0473a9e3

Rob