After deploying my Nuxt@3.5.3 application using @sidebase/nuxt-auth@0.5.0 to Netlify I got the OAuthCallback error when trying to log in using Google/Facebook provider.
On localhost everything works fine.
The documentation of the nuxt-auth says: “You must set the origin in production!”
I’m using both options.
I have set AUTH_ORIGIN environment
and also origin key in nuxt.config.ts both to https://example.com.
Maybe the error is caused by something else but I don’t know what can it be if the localhost app works fine.
Yes, that’s the site you’ve shared above. As mentioned in the issue above, there seems to be some missing configuration which you need to ask the library authors. Netlify doesn’t maintain the library, so we don’t know what part of their configuration would throw that error.