Hi
Could you please help with the following issue
I am using this method
public AuthenticationResult AcquireToken()
{
if (_config != null && (!string.IsNullOrEmpty(_config.Username) && _config.Password != null))
{
UserCredential cred = new UserCredential(_config.Username, _config.Password);
return _context.AcquireToken(_config.ServiceUrl, _config.ClientId, cred);
}
return _context.AcquireToken(_config.ServiceUrl, _config.ClientId, new Uri(_config.RedirectUrl),
PromptBehavior.Auto);
}
It's working fine on one environment, but failing when I try to login on different test environment.
The error is this
Message "This method overload is not supported by 'adfs.xxxxxx/.../authorize'" string
Could you please help ? Do I need to change something ?
*This post is locked for comments