最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - How to do oauth 2.0 in electron shell - Stack Overflow

programmeradmin3浏览0评论

I am trying to build an application which will consume an api. it has a oauth 2.0 authentication. my gui framework is electron shell () is there any framework or node package to do this easily ? My doubt is the callback URL is NATted behind some router. how do i do this ?

I am trying to build an application which will consume an api. it has a oauth 2.0 authentication. my gui framework is electron shell (https://github./atom/electron) is there any framework or node package to do this easily ? My doubt is the callback URL is NATted behind some router. how do i do this ?

Share Improve this question asked Oct 26, 2015 at 19:17 Eswar YagantiEswar Yaganti 2,6561 gold badge23 silver badges22 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 4

There's a nice example of how to do oAuth authentication in an electron app using Github API. Also if you search in github. you will find a lot of projects using electron and implementing oauth like Gitify does here.

发布评论

评论列表(0)

  1. 暂无评论