passport / develop

A forum for discussing topics related to the development of Passport.js.
7 stars 0 forks source link

Passportjs without popup window? #1

Open wizardnet972 opened 5 years ago

wizardnet972 commented 5 years ago

I'm using passport.js in my node application. Is there a way to authenticate to social network without open popup window? (for the second time, when the user is already give the permissions). if so, how?

Maybe there is an API that tell me if my Facebook app is need permission from the user, if so I'll open the window..

caub commented 4 years ago

@wizardnet972 Are you using Safari? I know there is a problem with Safari and a popup for the Basic auth 401 response (I can't test though, I'm on Linux)

Here's the relevant PR https://github.com/jaredhanson/passport-http/pull/82, we've ran this code since years, it would be easier to merge it for us. Here is the fork we've been using https://github.com/powmedia/passport-http

@jaredhanson