And I’m getting what seems to be a typical problem with people starting out, but none of the solutions i’m seeing are working for me. Hopefully someone can help see where I am going wrong.
I am getting this error too and my code is just have you @JLC have stated above. I also verified that my redirect_uris link in the client_secrets.json file match the application ‘Login redirect URIs’ from the ‘General’ tab->general settings->Login section. Feel like I am close as my logo shows up in the header of the bad request page, but not working still.
@andy.bt, the redirect_uri present in your authorize url is http://localhost:3000/authorization-code/callback, but your app is only allowing http://localhost:3000/users/callback to be used as a redirect uri. You would need to add http://localhost:3000/authorization-code/callback to the Sign In Redirect URIs configured for your app to get this working with the default callback route.
if you are using our Node middleware, you can configure your own loginRedirectUri config option if you want to use the /users/callback route instead of the default /authorization-code/callback route. See docs for this package here that show all the options available and the default behavior/