Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
57 views

My tech stack is node js, react, graphql, @apollo/server graphql-passport connect-mongodb. The authenticate from passport is working because I login and when I console log from the user resolver I get ...
NewbieCoder's user avatar
1 vote
1 answer
56 views

I am trying to integrate Steam accounts into my project, by linking them through passport-steam module. My app is also using express-session, in order to authenticate signed in users. const session = ...
Plamen's user avatar
  • 21
1 vote
1 answer
48 views

I am trying to mock google oauth flow with wiremock in my nodejs app for integration tests. I have configured in my passport manager code: passport.use(new GoogleStrategy({ clientID: config....
Mandroid's user avatar
  • 7,778
0 votes
0 answers
34 views

So i am new to programming so pardon me. I am building a blog app with ejs and node js that has a google sign in functionality through passport js.. the functionality works, however when i click on ...
uche9260's user avatar
0 votes
0 answers
30 views

I'm trying to implement a passkey in my project.. but when I try to sign up I always get a 403 response back... I'm not able to solve it since 2/3 hours... could you please maybe help? if I debug I ...
Fabio Di Ceglie's user avatar
0 votes
2 answers
62 views

I can't understand why configService is undefined in constructor of jwt.strategy.ts until I add @Inject(ConfigService) decorator before readonly configService: ConfigService, but in other modules ...
Тимофей Мелентьев's user avatar
0 votes
1 answer
104 views

I'm struggling while implementing authentication in my Express application using Passport.js. First of all here are all my packages' versions and my config: "passport": "^0.7.0", &...
AkaMirai9's user avatar
0 votes
0 answers
72 views

I’m using Passport.js with Google OAuth 2.0 in my Node.js app to authenticate users and request access to Google Calendar events. Despite adding the calendar.events scope in both my Passport strategy ...
sayan chakrabortty's user avatar
1 vote
0 answers
59 views

I am using passport jwt with node and Angular. it is throwing unauthorized error. I have tried with many solution on other stackoverflow questions but nothing works. I am using sequalize with MySQL ...
Prasad Gavande's user avatar
0 votes
0 answers
100 views

Any calls made to my passport.authenticate() middleware deletes and recreates my req.session object. I need it to stay consistent because it's shared with my socket.io connection. After some digging I'...
chron1cle's user avatar
0 votes
1 answer
45 views

I am testing a fairly simple node API endpoint: import { getRaces } from '@/services/races'; import { Request, Response, Router } from 'express'; import passport from 'passport'; export default (app: ...
mealeyst's user avatar
1 vote
0 answers
13 views

I try to run authentification with passport.js 1. I configure the sessions app.use(session({ ...sessionConfig, ...{ cookie: { secure: isProduction }, store: sessionStore } })); Sessions work fine 2. ...
Porteurs Libres's user avatar
0 votes
0 answers
17 views

I’m using Express.js with Passport.js for user authentication and Whoop OAuth integration. My session is being lost when I visit the /auth/whoop route, which initiates the OAuth flow. After ...
FlamingHotDog's user avatar
0 votes
0 answers
32 views

I am working on an Express application where I need to extend the Request interface to include custom properties for user and admin. Here's my custom interface: This setup worked fine until I ...
Aswin Ambalathara's user avatar
0 votes
2 answers
156 views

I'm quite new to using OAuth2 and was wondering how do you validate access tokens that multiple providers? I have a front end server that is allowing authentication from multiple provides (e.g, Google,...
Brian Michael Berrelez's user avatar
0 votes
0 answers
25 views

I have a set of existing selenium (Selenium Webdriver 4, python) tests for a website that will henceforth be authenticated with passsport.js google oauth2. I want to continue automating the end-to-end ...
C. Peck's user avatar
  • 3,719
0 votes
1 answer
47 views

passport.use("google", new GoogleStrategy( { clientID: process.env.GOOGLE_CLIENT_ID, clientSecret: process.env.GOOGLE_CLIENT_SECRET, callbackURL: "http://...
Yasas Lekamge's user avatar
0 votes
0 answers
33 views

I am creating a REST API using Nestjs and as part of authentication i needed to authenticate a user against my company active directory, I was able to use `passport-activedirectory' strategy to ...
Abdulbasit Yusuf's user avatar
0 votes
1 answer
401 views

I want to implement SSO sign up/sign in for Microsoft Azure AD B2C in NodeJS however, I want to create the user using Graph API. I'm using passport-azure-ad strategy. The process has to be custom ...
Scripter9700's user avatar
-1 votes
1 answer
40 views

InternalOAuthError: failed to fetch user profile    at C:\Users\PAKSHAL\Documents\Pakshal\Projects\Saarang\backend\node_modules\passport-spotify\lib\passport-spotify\strategy.js:151:19    at ...
Pakshal Shah's user avatar
0 votes
1 answer
24 views

app.js const express = require('express'); const chalk = require('chalk'); const app = express(); const debug = require('debug')('app') const path = require('path'); const morgan = require('morgan'); ...
Yoosaf Abdulla's user avatar
0 votes
1 answer
43 views

I'm attempting to get a url param /api/sso-login/google?mobile=true in the callback function. However the req returned is for the google auth and not the original request to the server. I have ...
Callum's user avatar
  • 13
-1 votes
1 answer
66 views

I'm currently building a password reset flow and wanted to check this made sense. So the user would make a request passing their email which would generate a token, this would be sent to the user and ...
Ed Lynch's user avatar
  • 623
0 votes
0 answers
86 views

I'm building a Discord bot dashboard API using NestJS, Passport, and TypeORM for session management. When a user attempts to log in through Discord, I encounter two errors: [Nest] 19524 - 09.08.2024 ...
Meenic's user avatar
  • 3
2 votes
1 answer
108 views

I have created a multitenant app in NestJs using a connection factory where we inject a connection for each request. I have spent several days debugging this but no luck till now. Github repository: ...
Edison Biba's user avatar
  • 4,483

1
2 3 4 5
138