This should take into account all the supported Adobe endpoints, and all the possible scenarios See https://github.com/adobe/aio-lib-runtime/pull/216