You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
strategy.ts is not invoking and not logging the user variable.
I tried to authenticate the user using passport-oauth2 package in nestjs.The problem is, strategy is not calling and not returning the user's accessToken.My expectation is strategy.ts file should return the accessToken and user.
passport authentication is working perfectly in express.js but not in nest.js
strategy.ts is not invoking and not logging the user variable.
I tried to authenticate the user using passport-oauth2 package in nestjs.The problem is, strategy is not calling and not returning the user's accessToken.My expectation is strategy.ts file should return the accessToken and user.
passport authentication is working perfectly in express.js but not in nest.js
auth.controller.ts
strategy.ts
And I'm not sure UseGuards(AuthGuard('oauth2')) is working. Any solution or ideas please!
The text was updated successfully, but these errors were encountered: