Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to do oauth 2.0 in electron shell

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.com/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 ?

like image 858
Eswar Yaganti Avatar asked Oct 31 '25 06:10

Eswar Yaganti


1 Answers

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

like image 124
matagus Avatar answered Nov 02 '25 21:11

matagus