This question already has an answer here:

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?

marked as duplicate by Brock Adams Feb 16 at 18:05

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

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

Browse other questions tagged .