diff --git a/docs/core/components/login.component.md b/docs/core/components/login.component.md index 0f2cb5cdb9..13697224b7 100644 --- a/docs/core/components/login.component.md +++ b/docs/core/components/login.component.md @@ -359,6 +359,10 @@ To enable public accessible urls, that don't need authentication, these must be } ``` +#### Oauth2 Properties + +You can find all the oauth2 configurations in the [JS-API oauth2 properties documentation](https://github.com/Alfresco/alfresco-js-api#login-with-oauth2-alfresco-authorization-server) + ### Kerberos The configuration for Kerberos authentication will allow users to access Alfresco products by entering their credentials only once when first logging into their Windows environment. diff --git a/lib/core/app-config/schema.json b/lib/core/app-config/schema.json index 3fd114fa89..a537d4bd7c 100644 --- a/lib/core/app-config/schema.json +++ b/lib/core/app-config/schema.json @@ -1104,6 +1104,9 @@ "redirectUriLogout": { "type": "string" }, + "refreshTokenTimeout": { + "type": "number" + }, "publicUrls": { "type": "array", "items": { diff --git a/lib/core/models/oauth-config.model.ts b/lib/core/models/oauth-config.model.ts index 0b24459a77..a358f4b9c3 100644 --- a/lib/core/models/oauth-config.model.ts +++ b/lib/core/models/oauth-config.model.ts @@ -24,5 +24,6 @@ export interface OauthConfigModel { silentLogin?: boolean; secret?: string; redirectUriLogout?: string; + refreshTokenTimeout?: Number; publicUrls: string[]; }