Add marketing scope to Xamarin client
This commit is contained in:
parent
bfb9eff00a
commit
f0b2845a6f
@ -27,7 +27,7 @@ namespace eShopOnContainers.Core.Services.Identity
|
||||
dic.Add("client_id", GlobalSetting.Instance.ClientId);
|
||||
dic.Add("client_secret", GlobalSetting.Instance.ClientSecret);
|
||||
dic.Add("response_type", "code id_token");
|
||||
dic.Add("scope", "openid profile basket orders locations offline_access");
|
||||
dic.Add("scope", "openid profile basket orders locations marketing offline_access");
|
||||
dic.Add("redirect_uri", GlobalSetting.Instance.IdentityCallback);
|
||||
dic.Add("nonce", Guid.NewGuid().ToString("N"));
|
||||
|
||||
|
@ -74,7 +74,8 @@ namespace Identity.API.Configuration
|
||||
IdentityServerConstants.StandardScopes.OfflineAccess,
|
||||
"orders",
|
||||
"basket",
|
||||
"locations"
|
||||
"locations",
|
||||
"marketing"
|
||||
},
|
||||
//Allow requesting refresh tokens for long lived API access
|
||||
AllowOfflineAccess = true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user