Our situation:
- 1 IIS website running Umbraco CMS, built on WebAPI v1 - www.somesite.com
- 1 IIS website running a WebAPI v2 - api.somesite.com
We need these two separate sites because our API logic has been build on WebAPI v2 and we don't want to write a separate v1 API just because Umbraco uses an old version which is not compatible with the new version (thanks Microsoft).
On site 1 we want to access the API running on site 2. Some API methods on site 2 require authentication using the [Authorize] attribute. What would be the correct way to authenticate users against site 1 and site 2 at the same time?