Closed mdarby closed 5 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.
GITHUB_CLIENT_ID
to be setGITHUB_CLIENT_SECRET
to be setProTip: 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.