1. I have useed thgis tunneling service, to expose my development port https://dashboard.ngrok.com/get-started
2. unzip /path/to/ngrok.zip
3. ./ngrok authtoken 1UmYOFelGdSmJV58zw9Z4UmgQdC_6cEoiitvCAsRbSC3HBqLM
4. ./ngrok http bashir.vetrina:8000
5. add your domain in vetrina hosts
6. For facebook:
* login to developers.facebook.com
* Under My Apps add Product "Facebook Login"
* Under "settings" in section "Valid OAuth Redirect URIs" add your domain
* In "quickstart" add site URL from step 4
* In fb.htm template, change js url var to your domain from step 4
* call yourhost/fb and you can see details printed in server terminal
7. For Google:
* In https://developers.google.com/ you need to configure your project,
* Get client ID in google.htm template, replace "google-signin-client_id" value with your client id
* in google.htm template, change js url var to your domain from step 4
* call yourhost/google, then sign-in and you can see details printed in server terminal