简体   繁体   中英

Is there a nice way in Trigger.io to handle OAuth1.0a for Twitter?

I'm using kinvey . They provide this great tutorial detailing sign-in via oauth. They also handle a considerable amount on their end allowing a very simple social signin method .

The issue is providing a proper Callback URL when creating the app within twitter. How do I make that play nicely with the tabs:childBrowser in Trigger.IO?

I've seen this answer regarding how to use Trigger.IO to handle OAuth2 , how would I go about augmenting the method they provide for use with OAuth1.0a for use with Twitter?

I've put together a demo app which shows how to use forge.request.ajax and forge.tabs.open to do an OAuth 1.0a flow against Twitter. Might update the docs with the same when a get a second.

https://github.com/goodgravy/forge-spikes/tree/master/twitter-oauth

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM