julianlam / nodebb-plugin-sso-google

NodeBB Plugin that allows users to login/register via their Google account.
BSD 2-Clause "Simplified" License
20 stars 16 forks source link

redirect_uri_mismatch with nginx proxy #19

Closed kdpuvvadi closed 8 years ago

kdpuvvadi commented 8 years ago

i've setup nginx proxy to the nodebb and i've setup /auth/google/callback in callback uri but it is redirecting to the localhost:4567/auth/google/callback and google apis throwing redirect_uri_mismatch error, how can i possibly solve this?

julianlam commented 8 years ago

Set url argument in config.json to your publicly accessible URL.