Hi all;
I am trying to unlink my Microsoft login to an app. I need to do this so I can test it first logging in for my app.
Where can I do this? Everything on the web says go to the privacy tab in my account. There is no privacy tab.
??? - thanks - dave
var microsoftClientId = configMgr.GetValue<string>("Authentication:Microsoft:ClientId");
var microsoftClientSecret = configMgr.GetValue<string>("Authentication:Microsoft:ClientSecret");
// Add authentication services
if ((!string.IsNullOrEmpty(microsoftClientId)) && !string.IsNullOrEmpty(microsoftClientSecret))
{
auth.AddMicrosoftAccount(options =>
{
options.ClientId = microsoftClientId;
options.ClientSecret = microsoftClientSecret;
options.Scope.Add("User.Read");
options.Scope.Add("User.ReadBasic.All");
options.Scope.Add("User.Read.All");
options.Scope.Add("User.ReadWrite.All");
options.Scope.Add("Contacts.Read");
options.Scope.Add("Contacts.ReadWrite");
options.ClaimActions.MapJsonKey(ClaimTypes.MobilePhone, "mobilephone");
options.ClaimActions.MapJsonKey(ClaimTypes.StreetAddress, "streetaddress");
options.ClaimActions.MapJsonKey(ClaimTypes.StateOrProvince, "state");
});
oauthInitialized++;
}