i debuged alot and found out that the google-strategy never calls success, error or fail to realy end the transaction.
the only function that calls these is self._oauth2.getOAuthAccessToken
but this gets also never called.
i also could not find where this function is called at all i search for this function in my node_modules folder and only found the declaration.
Thx for the Article,
But i have an problem with this.
I am using graphl with this first i had an problem that i had not an Response object i fixed this with
but now i dont get any real response at all.
i debuged alot and found out that the google-strategy never calls success, error or fail to realy end the transaction.
the only function that calls these is self._oauth2.getOAuthAccessToken
but this gets also never called.
i also could not find where this function is called at all i search for this function in my node_modules folder and only found the declaration.
Thx for Help
Greetings
i think i found an fix for that.
the problem is that the oauth2 strategy is looking for req.query.code
so one fix is just write the token in the req.query.code in the getRequest function
did think that this fixes the issue but no.
does anyone has experience with nestjs + passport (google) and graphql?