-
-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error 400: invalid_request Missing required parameter: scope #76
Comments
It may be because of the problem of passing the scope:
try this :) |
You need to add scope inside new GoogleStrategy
|
It's working, Thank you so much. |
this worked for me, thanks a lot @Saicharan0662 . |
I am also facing this error I tried all the solutions provided here, but they did not work. |
same here, I had the scope parameter and I still get the same error "Missing required parameter: scope". What could be the reason?
|
I have the same issue in nestjs, you know how to solve that? |
I can't remember exactly how I solved it but I will share the final code that I used. I hope it helps:
|
@eybel Thank for your response. I fixed this error. Declare scope in the guard file (like a middlewares in express) instead of in the strategy file. |
I am stuck with the Missing required parameter: scope, its work fine on local environment but on production its throwing the said error
I am passing the scope like below
And using the google strategy like below
passport google auth version : "@types/passport-google-oauth20": "^2.0.4",
The text was updated successfully, but these errors were encountered: