I have an app for which the OAuth domain is example.com

However, the domain for dev environment is example.com:8000

When trying to authorize the website, Stack Exchange replies with an error specifying that redirect_uri don't match the registered OAuth domain.

The problem is, in app configuration I can't register an OAuth domain with a port.

Knowing that I'd like to avoid falling back to using localhost, what could be done to make authorization work with a port in the redirect_uri?

  • okay - this means the port feature is not implemented yet - I ended up accessing dev with no port
    – Jivan
    Apr 25, 2016 at 17:08
  • This is (re)fixed. See the linked (duplicate) question. Apr 8, 2018 at 1:25


Browse other questions tagged .