made the OAUTH_DOMAIN URL configurable