We have a Microservice with Ocelot Gateway based solution with an SPA (Vue 2) Frontend and want to introduce an MVC based Admin Frontend:
First of all I need to set the gateway base url manually via 'abp.appPath' manually. I've also tried to enable cookies as auth via 'abp.ajax.defaultOpts.xhrFields = { withCredentials: true };' and adjusted ocelot routes to allow cookie auth without success (identity application cookie still missing).
The solution was started with the free starter template.Now we have a commercial license which I've tried to enable via appsettings secrets (Key: AbpLicenseCode) to avoid problems of using built-in identity module web pages.
What am I missing to enable auto bearer token add to http header as in latest Microservice starter Template (generated via Abp Studio) MVC Web Project? How can I manually add the Bearer Auth Header via javascript if needed?