All Questions
141
questions
0
votes
0
answers
123
views
InternalOAuthError: Failed to obtain access token | OAuth2 when trying to use auth code for token (HubSpot API)
I can't find a way to get the token and store it in my Firestore database with the matching uid.
The authorization code is included in the callback url, and I don't see any reason why the 'passport' ...
0
votes
0
answers
17
views
How do I send the profile data to a client page after authentication with Google OAuth?
So, this is my server side code where I handle my routes:
const express = require("express");
const session = require("express-session");
const bodyParser = require("body-...
0
votes
2
answers
639
views
SSO Sign in to WEB App using windows Active Directory
Is there a way to sign in to Web Application with credentials from active directory on windows?
It should not ask for Username / password instead web app should login as SSO using windows user creds
...
0
votes
2
answers
744
views
Cannot read properties of undefined (reading 'ES6'),
app.js code -
I don't know why this is getting an error in node module - npm mongoose-findorcreate
I checked the node module but there's no fault in ES6, I'm also attaching the module code below
// ...
1
vote
0
answers
727
views
InternalOAuthError: Failed to obtain access token? - NodeJS Passport
I've been trying all day but I couldn't solve it.
The problem is as follows;
I made an oauth2 system for my own website. But it gives me the error in the title.
I guess it doesn't detect the callback ...
1
vote
2
answers
2k
views
InternalOAuthError: failed to fetch user profile using express and passport js while implementing twitter strategy
Hello this is my first project using Express and Passport, also my first oauth experience. I did successfully implement Google and Facebook strategies but the Twitter one is resisting since two days ...
0
votes
1
answer
1k
views
How to use PassportJS with JWT in a REST API
I'm currently working on building a REST API where users can authenticate themselves via different passport strategies (google, facebook). The authentication has to be done without a session.
Now I've ...
2
votes
1
answer
652
views
Add authorization header to Snapchat login callback using passport js strategy
I'm trying to integrate login using Snapchat to my application. In order to do that I need to add an authorization bearer to the callback request to my application so I can verify the client.
...
2
votes
0
answers
935
views
Unable to use facebook login with passport JS
I am trying to implement facebook login to my node app using passport JS. I am able to redirect to login page when I entered the get URL related to the request
But after entering my credentials I am ...
1
vote
1
answer
2k
views
How can I get the user profile data in passport google auth callback function?
I'm using Passport Google auth for authentication. I am just confused about how I can pass the user profile data to the callback URL passed to passport google strategy.
In reference to the above ...
6
votes
1
answer
1k
views
How to manage OAuth in Node-Express / Vue web app?
I'm a bit confused as to how to manage the OAuth flow in my application. I can make it work, but I'm unsure of the best practices, and would like to find some good articles/tutorials/documentation on ...
0
votes
1
answer
620
views
oAuth on the front end or server side?
I have a MERN app (react on the front end and node, express, and Mongo on the back end)
I'm looking to implement oAuth login for the users to login.
So far I am using the Google api to do the auto on ...
0
votes
1
answer
796
views
Express.js OAuth: "invalid_request: The `redirect_uri` parameter does not match a valid url for the application."
I'm using passport-asana to pass a few credentials to an OAuth server (on asana.com).
I get to the scope grant page, and log into the service.
But during the callback step I see this in the browser ...
0
votes
1
answer
120
views
Oauth 2 (Passport.js) login should never fail, right?
If I have an Oauth 2 login for Google (using Passport.js/Express) and the user has not ever accessed my site before, the following will happen:
OPTION 1: First Time User
User -> clicks Google ...
2
votes
1
answer
744
views
Logout issue with PassportJs / Oauth / GoogleStrategy
I am writing an application using Nodejs and passportjs with Google Strategy. After logging out, the user is still able to login again without entering credentials. How can the user be made to enter ...