Hello,
I'm having issues using AAL to create an AssertionCredential object. The exception stack goes:
AAL 0x80100018: Token request from Access Control service failed. Check InnerException for more details
ACS90030: The configured token type for this relying party is not supported for OAuth2.
{"The remote server returned an error: (400) Bad Request."}
AuthenticationContext ac = new AuthenticationContext("https://url.accesscontrol.windows.net/"); Credential cred = new UsernamePasswordCredential(domain, username, password); AssertionCredential asc = ac.AcquireToken("urn:myrealm", cred);
Naturally, the code works fine when I switch the RP token format to JWT; however, I need it to be SAML 2.0 since that's what our code is based on (I'm just trying to automate testcases at this point.)
Is this scenario supported? Any assistance would be appreciated,
Thanks.