Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new Client
- {
- ClientId = "spa-client",
- ClientName = "SPA",
- RequireClientSecret = false,
- AllowedGrantTypes = GrantTypes.Code,
- RequirePkce = true,
- AllowAccessTokensViaBrowser = false,
- RequireConsent = false,
- RedirectUris = { "https://localhost:44370/signin-callback", "http://localhosts:44370/assets/silent-callback.html" },
- PostLogoutRedirectUris = { "https://localhost:44370/signout-callback" },
- AllowedCorsOrigins = { "https://localhost:44370" },
- AllowedScopes =
- {
- IdentityServerConstants.StandardScopes.OpenId,
- IdentityServerConstants.StandardScopes.Profile,
- },
- AccessTokenLifetime = 600
- }
Add Comment
Please, Sign In to add comment