From a5f1018fda5572912c126b1e8dd656209fca0e46 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Tue, 11 Aug 2020 21:16:02 +0200 Subject: persisted grants --- src/server/IdentityServer/Config.cs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/server/IdentityServer/Config.cs') diff --git a/src/server/IdentityServer/Config.cs b/src/server/IdentityServer/Config.cs index c005377..ac38aa4 100644 --- a/src/server/IdentityServer/Config.cs +++ b/src/server/IdentityServer/Config.cs @@ -18,20 +18,15 @@ namespace Dough.IdentityServer ClientId = BrowserClientId, AllowedGrantTypes = GrantTypes.Code, RequireClientSecret = false, - RedirectUris = Constants.BrowserAppLoginRedirectUrls, PostLogoutRedirectUris = Constants.BrowserAppLogoutRedirectUrls, AllowedCorsOrigins = Constants.BrowserAppUrls, AccessTokenType = AccessTokenType.Reference, RequireConsent = false, RefreshTokenExpiration = TokenExpiration.Sliding, + RefreshTokenUsage = TokenUsage.ReUse, AlwaysSendClientClaims = true, AllowOfflineAccess = true, - Claims = new List - { - new ClientClaim() - }, - AllowedScopes = { IdentityServerConstants.StandardScopes.OpenId, -- cgit v1.3