Table of Contents

MibAuthorizationServerConfig

Introduction

This configuration is intended for Authorization service.

Keys - Default Section

SecurePassword -> false
PasswordExpiration -> 7
AuthCodeExpiration -> 60
RootUrl -> empty
DefaultLanguage -> en-us
CookieName -> empty
Language -> empty
TokenEndpoint -> empty
AuthorizeEndpoint -> empty
LoginEndpoint -> empty
LogoutEndpoint -> empty
AllowInsecureHttp -> false
AuthorizationCodeSeconds -> 0
AccessTokenMinutes -> 0
RefreshTokenHours -> 0
ClientId -> empty
ClientSecret -> empty
WorkflowAssembly -> empty
WorkflowFactory -> empty
ProfileImages -> profileimages
TemProfileImages -> temprofileimages
EmailFromToMessages -> temprofileimages
DefaultSkin -> empty
ProfileImageExtensions -> jpg;jpeg;png
CustomCaptchaFontsFolder -> empty
ContactUsUri -> #
CorsHeaders -> *
CorsMethods -> *
CorsOrigins -> RootUrl configured
AllowUseOfMeInAnonymousMode -> false
ShowFullDebugPage -> false
StorageTypeForUserProfileImage -> disk

Keys - DataProtection Section

Type -> empty
Directory -> empty
DisableAutomaticKeyGeneration -> false
KeyLifetime -> 0

Keys - AuthenticationSecurityRules Section

BlockUserWhoDoesNotChangePasswordWithinACertainPeriodOfDays -> 0
BlockInactiveUserAccountsInADefinedPeriodOfDays -> 0

Keys - LockServer Section

Enabled (boolean)

Indicates whether the service is enabled for MIB users. Default value: false

Type (enum)

Avaliable options: Latch. Default value: empty

Url (string)

Base URL for accessing the chosen integration service. Default value: empty

ApplicationId (string)

Application ID configured in the integration service. Default value: empty

ApplicationSecret (string)

Application secret code configured in the integration service. Default value: empty

ProxyEnabled (boolean)

Indicates whether the requests made by the service should use a proxy. Default value: false

ProxyUrl (string)

Proxy url. Default value: empty

ProxyUserName (string)

Proxy user name. Default value: empty

ProxyPassword (string)

Proxy password. Default value: empty

ServiceWebSite (string)

URL for the service website. Default value: empty

ServiceUrlLogotipo (string)

URL for the service logo. Default value: empty. If the 'Type' is 'Latch', there is already a logo in the assets. However, it is possible to change the logo via URL if preferred. Default: ux/img/logo/latch.jpg

serviceLogotipoStyle (string)

css style for custom logotipo. Default value: empty. If the 'Type' is 'Latch', there is already a CSS style for the logo. However, it is possible to change the style if preferred. Default: width: 90px; height: 38px; cursor: pointer;

Operations (string[])

List of operations, identifier, and status configured in the integration service application. This information will be used to reference internal operations in the MIB and must follow this writing pattern: OperationName:OperationId:OperationStatus(true or false). To configure multiple sets of operations, use the ; separator. Example: OperationName1:OperationId1:OperationStatus1;OperationName2:OperationId2:OperationStatus2. Default value: empty

Note

Understanding the configuration pattern Operations: OperationName1:OperationId1:OperationStatus1
OperationName1 -> Name of the operation, used for identification.
OperationId1 -> Id related to the operation, retrieved by the server. Each application may contain a different Id.
OperationStatus1 -> true or false, enables or disables the operation. Validation will also be performed with the integration.

latch-operation-example

MIBAUTHORIZATIONSERVERCONFIG_LOCKSERVER_OPERATIONS=UserChangePassword:4kykYaJ7dNJYEF3mxWRe:true

Who uses this configuration?

  • MibAuthorizationServer

Examples

MIBAUTHORIZATIONSERVERCONFIG_DEFAULT_SECUREPASSWORD=false
MIBAUTHORIZATIONSERVERCONFIG_DEFAULT_ROOTURL=https://auth.com
MIBAUTHORIZATIONSERVERCONFIG_DEFAULT_LANGUAGE=pt-br
MIBAUTHORIZATIONSERVERCONFIG_DATAPROTECTION_KEYLIFETIME=0
MIBAUTHORIZATIONSERVERCONFIG_AUTHENTICATIONSECURITYRULES_BLOCKUSERWHODOESNOTCHANGEPASSWORDWITHINACERTAINPERIODOFDAYS=0
MIBAUTHORIZATIONSERVERCONFIG_LOCKSERVER_ENABLED=true
MIBAUTHORIZATIONSERVERCONFIG_LOCKSERVER_URL=https://mylockserver.com