There was a change in 5.0.40 that means domains with ports were no longer valid oauth origin, however you cannot include a domain with a port in the origin config.
Options
- Allow inclusion of the port in the config origins - include a better error message than just 401, as this is a behaviour change
- Allow wildcard ports on a domain
- Create an edge case to allow port wildcard on localhost
There was a change in 5.0.40 that means domains with ports were no longer valid oauth origin, however you cannot include a domain with a port in the origin config.
Options