I am building an app that uses oauth.io. I’ve tested it on desktop (using ionic serve) and it works.
I am facing a issue that has nothing to do with ionic, but with how people test ionic and oauth.io.
- My IP keeps changing(dhcp) and and oauth.io keeps returning me error: promise failed Error: Origin “http://IP:8100/” does not match any registered domain/url on oauth.io
If I add my IP to oauth.io app it works.
But as you can imagine, it fails every time I get a new IP. Can someone tell me how they circumvent this issue? I tried adding *, but that doesn’t work on oauth.io dashboard.
Perhaps a way ionic serve can bind to localhost or 127.0.0.1, which can be whitelisted?
But I can’t find any configuration related to that.