From 497525d528a7fe7d0978ab5820e3a3f648787f33 Mon Sep 17 00:00:00 2001 From: Galip Tolga Erdem Date: Fri, 8 May 2020 13:45:01 +0300 Subject: [PATCH] Update Azure-Active-Directory-Authentication-MVC.md empty space fix --- .../Azure-Active-Directory-Authentication-MVC.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/en/How-To/Azure-Active-Directory-Authentication-MVC.md b/docs/en/How-To/Azure-Active-Directory-Authentication-MVC.md index 5891a764e0..349fd6ee68 100644 --- a/docs/en/How-To/Azure-Active-Directory-Authentication-MVC.md +++ b/docs/en/How-To/Azure-Active-Directory-Authentication-MVC.md @@ -158,15 +158,15 @@ You can find the source code of the completed example [here](https://github.com/ ```` -* Help! I am getting ***System.ArgumentNullException: Value cannot be null. (Parameter 'userName')*** error! +* Help! I am getting ***System.ArgumentNullException: Value cannot be null. (Parameter 'userName')*** error! * This occurs when you use Azure Authority **v2.0 endpoint** without requesting `email` scope. [Abp checks unique email to create user](https://github.com/abpframework/abp/blob/037ef9abe024c03c1f89ab6c933710bcfe3f5c93/modules/account/src/Volo.Abp.Account.Web/Pages/Account/Login.cshtml.cs#L208). Simply add - ````csharp - options.Scope.Add("email"); - ```` - + ````csharp + options.Scope.Add("email"); + ```` + to your openid configuration. * Help! I keep getting ***AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application*** error!