Add locations to allow scopes to dictionary

This commit is contained in:
Christian Arenas 2017-06-12 20:20:46 +02:00
parent a74c2942fc
commit c84b4707e3

View File

@ -16,7 +16,7 @@ namespace eShopOnContainers.Core.Services.Identity
dic.Add("client_id", "xamarin"); dic.Add("client_id", "xamarin");
dic.Add("client_secret", "secret"); dic.Add("client_secret", "secret");
dic.Add("response_type", "code id_token token"); dic.Add("response_type", "code id_token token");
dic.Add("scope", "openid profile basket orders offline_access"); dic.Add("scope", "openid profile basket orders locations offline_access");
dic.Add("redirect_uri", GlobalSetting.Instance.IdentityCallback); dic.Add("redirect_uri", GlobalSetting.Instance.IdentityCallback);
dic.Add("nonce", Guid.NewGuid().ToString("N")); dic.Add("nonce", Guid.NewGuid().ToString("N"));