Vittorio Bertocci
Vittorio Bertocci
As I mentioned in the issue https://github.com/aspnet/Security/issues/673 - adfs in 2012 r2 does not support the necessary oauth grants. The scenario does work with adfs on windows server 2016, though.
We're working on a sample, it's in review hence that should be ready soon - but I can't give you an exact date yet. In the meanwhile: take a look...
see my explanation in https://github.com/AzureADSamples/SinglePageApp-DotNet/pull/7#issuecomment-66941008
if the client and the web API are on different URLs, the basic logon won't work.You still need to get your first token for your own SPA.
it looks like you might have provisioned the application as a web app rather than a native application. Please make sure that you follow the setup instructions to the letter
This is a key feature. Developers should be able to find the identity of the caller in the same property regardless of host type and past/present/future Dev stack. The manipulation...
It might be convenient, but it is fundamentally broken. The identity token is retrievable from a controller via SaveSignInToken if you need it. The access and refresh token don't belong...
I would rather take a bit more time and get it right than put it in the wrong place and pay for this for years to come. I understand this...
I would second what @leastprivilege suggested - the OAuth2 flows in ADFS 2012 R2 are intended exclusively for native clients hence extracting tokens from it via a JS user_agent would...
I know this was already clodes, but I concur with @leastprivilege - a good default for the MW would be id_token.