Skip to content

Instantly share code, notes, and snippets.

@AmrElsehemy
Created July 27, 2019 15:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AmrElsehemy/cfa78e493187566689e8460c3667fd00 to your computer and use it in GitHub Desktop.
Save AmrElsehemy/cfa78e493187566689e8460c3667fd00 to your computer and use it in GitHub Desktop.
NativeClient Sitecore Identity 9.1 registeration
<NativeClient>
<ClientId>AwesomeAppId</ClientId>
<ClientName>Native Client iOS sample</ClientName>
<UpdateAccessTokenClaimsOnRefresh>true</UpdateAccessTokenClaimsOnRefresh>
<AccessTokenType>0</AccessTokenType>
<AllowOfflineAccess>true</AllowOfflineAccess>
<AlwaysIncludeUserClaimsInIdToken>true</AlwaysIncludeUserClaimsInIdToken>
<AccessTokenLifetimeInSeconds>3600</AccessTokenLifetimeInSeconds>
<IdentityTokenLifetimeInSeconds>3600</IdentityTokenLifetimeInSeconds>
<AllowAccessTokensViaBrowser>true</AllowAccessTokensViaBrowser>
<RedirectUris>
<RedirectUri1>awesome://sitecore.identity.app</RedirectUri1>
</RedirectUris>
<PostLogoutRedirectUris>
<PostLogoutRedirectUri1>awesome://sitecore.identity.app</PostLogoutRedirectUri1>
</PostLogoutRedirectUris>
<RequireConsent>false</RequireConsent>
<RequireClientSecret>false</RequireClientSecret>
<AllowedGrantTypes>
<AllowedGrantType1>authorization_code</AllowedGrantType1>
</AllowedGrantTypes>
<AllowedScopes>
<AllowedScope1>openid</AllowedScope1>
<AllowedScope2>sitecore.profile</AllowedScope2>
<AllowedScope3>sitecore.profile.api</AllowedScope3>
</AllowedScopes>
<AllowOfflineAccess>true</AllowOfflineAccess>
</NativeClient>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment