google next-auth error: invalid_client even if client id is correct
my auth was working fine but now I keep getting this error
[next-auth][error][OAUTH_CALLBACK_ERROR]
https://next-auth.js.org/errors#oauth_callback_error invalid_client (Unauthorized) {
error: OPError: invalid_client (Unauthorized)
at processResponse (/home/blue/Projects/tracker/node_modules/openid-server.js:157:99 {
name: 'OAuthCallbackError',
code: undefined
},
providerId: 'google',
message: 'invalid_client (Unauthorized)'
}
(deleted some of the error)
[next-auth][error][OAUTH_CALLBACK_ERROR]
https://next-auth.js.org/errors#oauth_callback_error invalid_client (Unauthorized) {
error: OPError: invalid_client (Unauthorized)
at processResponse (/home/blue/Projects/tracker/node_modules/openid-server.js:157:99 {
name: 'OAuthCallbackError',
code: undefined
},
providerId: 'google',
message: 'invalid_client (Unauthorized)'
}
(deleted some of the error)
This is a list of errors output from NextAuth.js.