aboutsummaryrefslogtreecommitdiffstats
path: root/src/server/IdentityServer/Config.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/IdentityServer/Config.cs')
-rw-r--r--src/server/IdentityServer/Config.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/server/IdentityServer/Config.cs b/src/server/IdentityServer/Config.cs
index 41363f1..5b2bf13 100644
--- a/src/server/IdentityServer/Config.cs
+++ b/src/server/IdentityServer/Config.cs
@@ -22,11 +22,17 @@ namespace Dough.IdentityServer
RedirectUris = Constants.BrowserAppLoginRedirectUrls,
PostLogoutRedirectUris = Constants.BrowserAppLogoutRedirectUrls,
AllowedCorsOrigins = Constants.BrowserAppUrls,
+ AccessTokenType = AccessTokenType.Reference,
+ RequireConsent = false,
+ RefreshTokenExpiration = TokenExpiration.Sliding,
+ AlwaysSendClientClaims = true,
+ AllowOfflineAccess = true,
AllowedScopes =
{
IdentityServerConstants.StandardScopes.OpenId,
IdentityServerConstants.StandardScopes.Profile,
+ IdentityServerConstants.StandardScopes.OfflineAccess,
MainApiScopeName
}
}
@@ -45,4 +51,4 @@ namespace Dough.IdentityServer
new IdentityResources.Profile(),
};
}
-}
+} \ No newline at end of file