I am building two seperate ASP.Net WebApi applications, which will run under the same domain (not subdomain) plus one STS that handles the authentification and will be the user account store.
The client connects with breeze.js/angular.js to that APIs. So i think JWT (JSON Web Token) will be my choice for tokens as i don't want to use forms auth.
How do i accomplish trust between the STS and the apps just by the domain name? I found some WS-Federation trust samples but i think that is such an overkill of what i need to build.