I am trying to test OAuth buttons, but they all (Facebook, Twitter, LinkedIn) come back with errors that seem to signal that I can not test or use them from a local
Taking Google OAuth as reference
In your OAuth client Tab
(http://localhost:3000)
to Authorized JavaScript origins URIsIn your OAuth consent screen
mywebsite.com
to Authorized domainsEdit the hosts file on windows or linux Windows C:\Windows\System32\Drivers\etc\hosts
Linux : /etc/hosts
to add 127.0.0.1 mywebsite.com
(N.B. Comment out any if there is any other 127.0.0.1)
You can also use ngrok: https://ngrok.com/. I use it all the time to have a public server running on my localhost. Hope this helps.
Another options which even provides your own custom domain for free are serveo.net and https://localtunnel.github.io/www/