columbus-elixir / marketing

12 stars 8 forks source link

WIP: Adds Github OAuth2 support #29

Closed mdarby closed 5 years ago

mdarby commented 6 years ago

ProTip: So dealing with OAuth development locally sucks. Not only that, it's impossible. One great way to make it work is to use a service like forwardhq.com. Basically, they port forward your local dev port out to the web and give you a static URL. You can use that URL to set up the OAuth callbacks.

oauth application settings 2018-02-20 19-45-38

spicycode commented 6 years ago

@mdarby You can get around the issues you describe above by setting up a mDNS responder to give the site a domain. For example, http://columbus-elixir.localhost would work and the OAuth2 responder will be able to reach it in browser. Then you just have a Prod and Development OAuth app and dev redirects to the localhost domain.