Skip to content

Squash TM Main Configuration

Java Environment variables

The content of the SQUASH_JAVA_ARGS variable is appended to the end of the java command line. This allows you to add parameters or override the default ones (since JVM arguments are processed from left to right and the last defined values take precedence).
For example, Squash TM executes: java -Xms128m -Xmx2048m $SQUASH_JAVA_ARGS. So, if you set $SQUASH_JAVA_ARGS to -Xmx4096m, the resulting command will be: java -Xms128m -Xmx2048m -Xmx4096m. In this case, the JVM will start with a maximum heap size Xmx of 4 GB.

Necessary memory

Make sure that the server on which the application is installed has enough RAM to handle all the memory necessary for:

  • the heap size (-Xms, -Xmx)
  • the metaspace (-XX:MetaspaceSize, -XX:MaxMetaspaceSize)
  • the stack of each thread (-Xss)
  • the code cache (-XX:ReservedCodeCacheSize)
  • other (arena, byte buffers…)

The server should have more memory than -Xmx + -XX:MaxMetaspaceSize + -XX:ReservedCodeCacheSize + 128MB.
See the Java documentation for more information.

Squash TM's Configuration File

This paragraph describes the configuration parameters available in the configuration file (conf/squash.tm.cfg.properties) of Squash TM.

Focus

Once the changes have been done and the squash.tm.cfg.properties file (or the auxiliary configuration file) has been saved, you must restart Squash TM for them to be taken into account.

Other configuration methods

Squash TM is using Spring Boot which provides many mechanisms, other than modifying the squash.tm.cfg.properties file, to define the values of configuration parameters: environment variables, JSON embedded in SPRING_APPLICATION_JSON… Refer to the Sprint Boot documentation to get the exhaustive list of ways to define these values.
For example, if you want to start Squash TM in Docker while setting squashtm.stack.trace.control.panel.visible to true, you can use:

docker run --name='squash-tm' --env SQUASHTM_STACK_TRACE_CONTROL_PANEL_VISIBLE=true -it -p 8090:8080 squashtest/squash:10.2.10

Configuration Management

ParameterDescriptionDefaultNotes
spring.profiles.includeAllows splitting configuration into multiple files-since Squash TM 1.18.0
A Comma-separated list of identifiers.
Auxiliary configuration files must be named either squash.tm.cfg-<ident>.properties or application-<ident>.properties.

Tomcat

ParameterDescriptionDefaultNotes
server.portDefines the server access port8080Please note that the system will not verify that the chosen port is available. Thus, make sure that it is the case by contacting the system administrator
server.servlet.session.timeoutSets the session timeout3600 (seconds)-
server.tomcat.accesslog.enabledEnables Tomcat access logsfalse-
server.tomcat.basedirSets the base directory for Tomcat${squash.path.root}/tomcat-work-
server.tomcat.use-relative-redirectsEnsures internal redirections use HTTPS protocol in HTTPS environmentstruetrue or false
server.servlet.context-pathSquash TM context path/squashSetting server.servlet.context-path=/foo will require users to log in via the <squash-base-url>/foo URL.

When port 80 is blocked for security reasons, it is necessary to set server.tomcat.use-relative-redirects to true so that internal redirections are systematically done via port 443.

Squash TM Paths

ParameterDescriptionDefaultNotes
spring.config.locationSets the configuration location../conf-
squash.path.rootSets the root path for Squash TM${spring.config.location}/..-
squash.path.bundles-pathSets the path for bundles${squash.path.root}/bundles-
squash.path.plugins-pathSets the path for plugins${squash.path.root}/plugins-
squash.path.languages-pathSets the path for language files${spring.config.location}/lang-
squash.path.local-git-repositories-folderSets the path for local Git repositories${squash.path.root}/git-repositoriessince Squash TM 8.0.0
See this page.
squash.project-imports.folder-pathSets the path for the files in queue and the logs of imports${squash.path.root}/importssince Squash TM 8.0.0
See this page for Xray imports.
squash.report-custom-template.folder-pathSets the path for the report custom templates${spring.config.location}/report.custom.templatessince Squash TM 9.0.0
See this page for report templates.

Security

ParameterDescriptionDefaultNotes
squash.security.basic.token-charsetDefines the encoding for basic auth-secured endpoints-since Squash TM 1.16.1
For example:
UTF-8, ISO-8859-1
squash.crypto.secretDefines the encryption key for credentials of third party tools-since Squash TM 1.17.0
Logins and passwords entered for connection to third party tools are encrypted in database by using that encryption key.
The application is delivered with a default encryption key, this one must immediately be changed.
Should be at minimum 12 characters long, but preferably 16+ characters for strong security. Space and tab are not allowed.
For example:
jN9$mK5vP#xR2hL8nQ4&
Changing this key later will make previously stored credentials unusable.
squash.rest-api.disallow-basic-authenticationDisallows basic authentication for REST APItruesince Squash TM 7.1.0
squash.rest-api.jwt.secretSets the secret used to encrypt tokens for REST API calls-since Squash TM 7.1.0
Must be at least 512 bits and base64 encoded (at least 86 characters).
For example:
Ym9uam91cmplc3Vpc2RldmVsb3BwZXVzZXN1cnNxdWFzaHRtZXRub3Vzc29tbWVzZW5sYW5uZWUyMDI0ISEhIS

Deprecation of basic authentication

Since Squash TM 10.1.0, the squash.rest-api.disallow-basic-authentication property is set to true by default (previously, it was false by default).
From mid-2026, basic authentication (login/password) for API calls will no longer be possible, authentication will have to be by token.

Database connection

ParameterDescriptionDefaultNotes
spring.profiles.activeDefines the type of database engineh2since Squash TM 10.1.0
Possible values: h2, postgresql, or mariadb.
Please note that support for H2 will soon be discontinued.
spring.datasource.passwordSpecifies the passwordsasince Squash TM 10.1.0
spring.datasource.usernameSpecifies the usernamesasince Squash TM 10.1.0
spring.datasource.urlSpecifies the connection URLjdbc:h2:${squash.path.root}/data/squash-tm;NON_KEYWORDS=ROW,VALUEsince Squash TM 10.1.0
spring.datasource.hikari.maximumPoolSizeConfigures the connection pool size20Refer to HikariCP documentation for more details.

Auxiliary configuration files

Squash TM comes with two auxiliary configuration files, squash.tm.cfg-postgresql.properties and squash.tm.cfg-mariadb.properties, which you can use as follows:

  • If you are using PostgreSQL:
    • Set postgresql as the value of spring.profiles.include in the file squash.tm.cfg-postgresql.properties;
    • Specify the values of the parameters from the previous table in the file squash.tm.cfg-postgresql.properties.
  • If you are using MariaDB:
    • Set mariadb as the value of spring.profiles.include in the file squash.tm.cfg-mariadb.properties;
    • Specify the values of the parameters from the previous table in the file squash.tm.cfg-mariadb.properties.

You can also not use these auxiliary files and specify the values of the parameters from the previous table directly in the file squash.tm.cfg.properties.

Database update

ParameterDescriptionDefaultNotes
squash.db.update-modeEnables/disables automatic database updatesinteractivesince Squash TM 9.0.0
See this page for the possible values.

Administration Features

ParameterDescriptionDefaultNotes
squashtm.feature.file.repositoryActivates/deactivates attachment outsourcingfalsetrue or false
Read documentation before activating.
squashtm.stack.trace.control.panel.visibleShows/hides configuration of stack trace displayfalsetrue or false
If true, the configuration panel to activate/deactivate error details is visible in the page 'System settings'.

Reports

ParameterDescriptionDefaultNotes
report.criteria.project.multiselectEnables/disables multiple selections in project pickersfalse-

Connection to Bugtrackers

ParameterDescriptionDefaultNotes
squashtm.bugtracker.timeoutSets the timeout for server attempts to reach a bugtracker.15 (seconds)-
squash.bugtracker.cache-update-delaySets the delay between bugtracker connector cache updates.86400 (seconds)since Squash TM 7.3.0
squash.bugtracker.cache-update-cronSets a Cron Expression for the cache update of the bug tracker connectors. If defined, it will override the delay.-since Squash TM 9.0.0
Example: 0 0 0 * * * will update the cache every day at midnight.
For more information about Spring Cron Expressions, see Spring CronExpression documentation.
squash.bugtracker.cache-worker-pool-sizeSets the number of workers used to update the cache of the bug tracker connectors.5since Squash TM 9.0.0
squash.bugtracker.max-results-per-searchSets the maximum number of results returned for autocomplete searches on issues.50 (results)since Squash TM 9.0.0
The maximum value is 100.
The minimum value is 5.
It is recommended to lower the value if the GitLab projects used contain a large number of issues.

Bugzilla

ParameterDescriptionDefaultNotes
plugin.bugtracker.bugzilla.cache.enableEnables/disables the Bugzilla fields cache featurefalsetrue or false
Use this feature if retrieving fields takes a long time.
If true, all fields of Bugzilla servers will be cached in memory once retrieved.
plugin.bugtracker.bugzilla.cache-at-start.bugtracker-urlsDefines the URLs of the bugtrackers that should initialize fields cache when Squash TM starts-Use a comma-separated list
plugin.bugtracker.bugzilla.cache-refresh.cron-expressionSets the Cron Expression defining when to perform a refresh of the Bugzilla fields cache-For more information about Spring Cron Expressions, see Spring CronExpression documentation.

Excel import

ParameterDescriptionDefaultNotes
squash.xls-imports.max-concurrent-importsDefines the maximum number of concurrent imports-since Squash TM 7.4.0
Squash TM will refuse to perform an Excel import if this limit is reached.
This limit is used to avoid overloading Squash TM; its value depends on the CPU and RAM of the server.
No value means no limit, this is the default configuration.
squash.xls-imports.max-test-cases-per-importDefines the maximum number of test cases in an import file-since Squash TM 7.4.0
Squash TM will refuse to perform an Excel import if this limit is reached.
This limit is used to avoid overloading Squash TM; its value depends on the CPU and RAM of the server.
No value means no limit, this is the default configuration.
squash.xls-imports.max-test-steps-per-importDefines the maximum number of test steps in an import file-since Squash TM 7.4.0
Squash TM will refuse to perform an Excel import if this limit is reached.
This limit is used to avoid overloading Squash TM; its value depends on the CPU and RAM of the server.
No value means no limit, this is the default configuration.
squash.xls-imports.max-requirements-per-importDefines the maximum number of requirements in an import file-since Squash TM 8.0.0
Squash TM will refuse to perform an Excel import if this limit is reached.
This limit is used to avoid overloading Squash TM; its value depends on the CPU and RAM of the server.
No value means no limit, this is the default configuration.

Project Import

Currently, only Xray project import is available.

ParameterDescriptionDefaultNotes
squash.project-imports.delaySets the delay between two import processes3600 (seconds)since Squash TM 8.0.0

Jira and GitLab Synchronizations

ParameterDescriptionDefaultNotes
squash.external.synchronisation.enabledEnables/disables scheduled processing of all synchronizationstruesince Squash TM 7.0.0
true or false
squash.external.synchronisation.delaySets the delay between two synchronizations300 (seconds)-
squash.external.synchronisation.max-items-per-syncSets the maximum number of items in scope when creating a new synchronization-since Squash TM 8.0.0

squash.external.synchronisation.enabled enables or disables the scheduled process for all synchronizations.
This property does not affect the attribute activated of the synchronizations.
Switching this property to false can be useful in situations such as:

  • You do not use synchronizations;
  • The instance is a pre-production Squash TM having a copy of the production database and you must avoid the synchronizations recorded in the database to run on this instance to not pollute your Jira/GitLab tickets;
  • You use another Squash TM instance to handle synchronizations.

squash.external.synchronisation.delay defines the delay between two updates, expressed in seconds. If this property is missing or incorrect, the default delay is set to five minutes (300 seconds) and a warning occurs in the Squash TM logs when the application starts. The shorter the delay is, the more resources Squash TM consumes. For most common uses, a delay between 5 and 15 minutes is enough.

Jira

ParameterDescriptionDefaultNotes
plugin.synchronisation.jira.batchSizeSets the batch size for Jira REST API requests50-

Xsquash4Jira plugin has a property,plugin.synchronisation.jira.batchSize, defining the size of the batch to update the information from Jira.
The default value is 50, which must be less than or equal to the value jira.search.views.default.max defined in the jira-config.properties property file. That default value works fine with Data Center and Cloud, if no configuration changes have been made to the Jira instance.

GitLab

ParameterDescriptionDefaultNotes
plugin.synchronisation.gitlab.webhook.secret-tokenDefines the optional token used to validate GitLab webhooks-See more details here.
plugin.synchronisation.gitlab.webhook.show-secret-tokenShows/hides secret token on the plugin administration screentruetrue or false
See more details here.

TM-TA

ParameterDescriptionDefaultNotes
tm.test.automation.pollinterval.millisSets the polling interval for test automation3000 (milliseconds)-

LDAP and Active Directory

See this page for more information.

Single LDAP

Use these settings to configure authentication with a single LDAP server.

ParameterDescriptionDefaultNotes
authentication.providerDefines the authentication provider-ldap or ldap,internal for multi-source (i.e. internal means that the users can also use their local Squash TM account)
authentication.ldap.server.urlDefines LDAP server URL-For example:
ldap://localhost:389
authentication.ldap.server.managerDnDefines the manager user DN (if anonymous access is not allowed)-For example:
CN=admin,CN=Users,DC=example,DC=com
authentication.ldap.server.managerPasswordDefines the manager password (if anonymous access is not allowed)-For example:
something
authentication.ldap.user.searchBaseDefines the search base DN-For example:
DC=example,DC=com
authentication.ldap.user.searchFilterDefines the search filter-For example:
(uid={0})
authentication.ldap.user.fetchAttributesDefines whether to fetch user attributestruetrue or false
authentication.ldap.user.dnPatternsDefines base DN patterns for user lookup-For example:
uid={0},ou=people

Multi-LDAP

Use these settings to configure authentication with multiple LDAP servers.

ParameterDescriptionDefaultNotes
authentication.providerDefines the authentication provider-ldap-multi or ldap-multi,internal for multi-source (i.e. internal means that the users can also use their local Squash TM account)
authentication.ldap.multi.root.namesDefines the names of the multiple LDAP servers-For example:
ldap1,ldap2

For each LDAP server (e.g., ldap1, ldap2), use the following properties, prefixed with the server name:

ParameterDescriptionDefaultNotes
[name].authentication.ldap.server.urlDefines LDAP server URL-For example:
ldap://localhost:389
[name].authentication.ldap.server.managerDnDefines the manager user DN (if anonymous access is not allowed)-For example:
CN=admin,CN=Users,DC=example,DC=com
[name].authentication.ldap.server.managerPasswordDefines the manager password (if anonymous access is not allowed)-For example:
something
[name].authentication.ldap.user.searchBaseDefines the search base DN-For example:
DC=example,DC=com
[name].authentication.ldap.user.searchFilterDefines the search filter-For example:
(uid={0})
[name].authentication.ldap.user.fetchAttributesDefines whether to fetch user attributes-For example:
false
[name].authentication.ldap.user.dnPatternsDefines base DN patterns for user lookup-For example:
uid={0},ou=people

Single Active Directory

Use these settings to configure authentication with a single Active Directory server.

ParameterDescriptionDefaultNotes
authentication.providerDefines the authentication provider-ad.ldap or ad.ldap,internal for multi-source (i.e. internal means that the users can also use their local Squash TM account)
authentication.ad.server.urlDefines the AD server URL-For example:
ldap://localhost:389
authentication.ad.server.domainDefines the AD server domain-For example:
ad.squashtest.org
authentication.ad.server.managerDnDefines the manager user DN-For example:
admin
authentication.ad.server.managerPasswordDefines the manager password-For example:
something
authentication.ad.user.searchBaseDefines the search base--
authentication.ad.user.searchFilterDefines the search filter-For example:
(&(objectClass=user)(userPrincipalName={0}))

Multi-Active Directory

Use these settings to configure authentication with multiple Active Directory servers.

ParameterDescriptionDefaultNotes
authentication.providerDefines the authentication provider-ad.ldap-multi or ad.ldap-multi,internal for multi-source (i.e. internal means that the users can also use their local Squash TM account)
authentication.ad.multi.root.namesDefines the names of the multiple AD servers-For example:
ad1,ad2

For each AD server (e.g., ad1, ad2), use the following properties, prefixed with the server name:

ParameterDescriptionDefaultNotes
[name].authentication.ad.server.urlDefines the AD server URL-For example:
ldap://localhost:389
[name].authentication.ad.server.domainDefines the AD server domain-For example:
ad.squashtest.org
[name].authentication.ad.server.managerDnDefines the manager user DN-For example:
admin
[name].authentication.ad.server.managerPasswordDefines the manager password-For example:
something
[name].authentication.ad.user.searchBaseDefines the search base--
[name].authentication.ad.user.searchFilterDefines the search filter-For example:
(&(objectClass=user)(userPrincipalName={0}))

SAML

See this page for more information.

PropertyDescriptionDefaultNotes
Main configuration
saml.enabledEnables/disables SAMLfalsetrue or false
authentication.providerDefines the authentication provider-saml or saml,internal for multi-source (i.e. internal means that the users can also use their local Squash TM account)
saml.idp.metadata-urlDefines the URL or path where the IdP metadata can be found-Allowed formats:
- file://absolute/path/to/file: fetches a file locally by its absolute path
- http:// or https://metadata.remote-host/path/to/file: remote download of the metadata via HTTP(S)
- relative/path/to/file: a path relative to the configuration directory of Squash TM (e.g. saml/idp.xml)
saml.sp.registration-idUnique identifier used to register your service provider (SP) in the plugin's SAML configuration-For example, google
saml.sp.entity-idSquash instance unique identifier. This value must be unique within your authentication ecosystem and will be communicated to the identity provider (IdP)-For example, urn:squash-tm:saml or https://squash-tm.your-organization.com/saml
saml.sp.metadata.private-keyPrivate key in PKCS8 format used by the service provider (SP) to sign requests and decrypt messages-Format PKCS8 required
saml.sp.metadata.certificateService provider (SP) X.509 certificate used for signature validation and encryption--
Entry point
squash.security.preferred-auth-urlSets SAML authentication entry point as the main entry point/auth/saml/login/{registration-id}Unauthenticated users will be automatically redirected to the SAML entry point instead of the regular login form.
SSO options
saml.sso.force-authNEnables/disables forced reauthenticationfalsetrue or false
If enabled, the user will have to reauthenticate with the IdP every time it wants to authenticate with Squash TM. This effectively disables the SSO mechanism.
saml.sso.provider-nameDefines a human-readable name that will be included in messages sent to the IdP, useful for logging purposesempty-
saml.sso.bindingDefines which binding Squash TM use to initiate SSO with the IdPFirst binding method listed in the <SingleSignOnService/> clause of the IdP metadataFor more information, see this document.
For example:
urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST, urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect
saml.sso.assertion-consumer-indexRequires the IdP to send its responses to the given consumer service.The default consumer service in the SP metadataA non-negative integer or blank
The list of available consumer services can be found in the <AssertionConsumerService/> clauses in the SP metadata.
saml.sso.nameIDRequires the IdP to return the principal with a given NameIDFormat, which is essentially the username of the user in Squash TMIf blank, the IdP will pick one among those listed in the SP metadataFor example:
urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress, urn:oasis:names:tc:SAML:2.0:nameid-format:transient
saml.sso.allow-createNotifies the IdP that creating new user is permitted when unknownfalsetrue or false
saml.sso.passiveIf enabled, Squash TM will inform the IdP that it does not consider user interaction necessary for authentication-true or false
saml.sso.include-scopingIf enabled, Squash TM will add additional scoping constraints when a user authenticates.falsetrue or false
saml.sso.allowed-idpsDefines, in a multi-layered IdP architecture, which IdPs are allowed to process an authentication requests-A comma-separated list of IdPs
Note: scoping must be enabled.
saml.sso.proxy-countDefines the maximum proxy hops allowed for authentication messages2A non-negative integer
In this context a proxy is an IdP within a chain of IdPs that can delegate one to the next. A value of 0 forbids the use of proxies and the IdP that receives the authentication request cannot delegate and must authenticate the user himself.
Note: scoping must be enabled.
saml.sso.authn-contextsDefines the authentication contexts that should be honored by the IdP when it authenticates the user(blank, i.e. no specific requirements)A comma-separated list
Useful when the default IdP authentication challenge is not deemed sure enough and Squash TM asks for guarantees of a more stringent process.
For example:
urn:oasis:names:tc:SAML:2.0:ac:classes:SmartcardPKI, urn:oasis:names:tc:SAML:2.0:ac:classes:MobileTwoFactorContract
Note: scoping must be enabled.
For more information, see this document.
saml.sso.authn-context-comparisonInstructs the IdP on how it should process the credentials presented by the user during authenticationexactexact, minimum, maximum, or better
Note: scoping must be enabled.
For more information, see this document.
saml.sso.relay-stateDefines an arbitrary token to be sent back and forth to the IdP(blank)Part of the SAML specification but Squash TM has no use case for it.
SP metadata options
name-id-formatDefines the format of the NameID used to identify the user in the SAML authentication requestvideExamples : urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress, urn:oasis:names:tc:SAML:2.0:nameid-format:transient
authn-requests-signedIndicates whether SAML authentication requests sent by the SP should be signedfalsetrue or false
single-logout-service-bindingDefines the type of binding (transport protocol) used by the SP to communicate with the IdP's Single Logout Serviceurn:oasis:names:tc:SAML:2.0:bindings:HTTP-POSTurn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST or urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect
saml.sp.metadata.trusted-keysDefines which keys should be considered as trust anchors for PKIX verification of the SP metadata fileallall (all keys in the keystore will be trusted), blank (equivalent to all), none (none of the keys in the keystore will be trusted), or a comma-separated list of keys (the keys must exist in the keystore).
SP session options
saml.session.max-assertion-timeDefines the validity interval of an authentication assertion during the SSO process3000 (seconds)If the process has not completed by that time the process has failed and SSO must be reinitiated from scratch. Note that the default value is large enough for most situations.
saml.session.max-auth-timeDefines the validity interval of an IdP authentication864000 (seconds, i.e. 10 days)On expiration Squash TM will consider that the user must re-authenticate with the IdP.
saml.session.clock-skewSets in seconds the maximum tolerance accepted for clock offsets between service provider (SP) and identity provider (IdP)300 (seconds)On expiration Squash TM will consider that SAML assertions as expired, even if a slight clock gap remained between the systems
Reverse proxy / load balancer options
saml.proxy.enabledEnables/disables reverse proxy supportfalsetrue or false
saml.proxy.server-nameDeclares the hostname of the reverse proxy-This must be defined if proxy support is enabled, since it has no default value.
saml.proxy.schemeDeclares the scheme used by the reverse proxy for outbound communicationshttpshttp or https
saml.proxy.server-portDeclares the port used by the reverse proxy for outbound communications443A valid port number
saml.proxy.context-pathDeclares the context path of the application as served by the reverse proxy/squashA context path, starting with a forward slash /
saml.proxy.include-port-in-urlIndicates whether the port number should be explicitly included in the request URLtruetrue or false
Assertion extra attributesThe assertion returned by the IdP may contain extra attributes about the user account that you may wish to use in Squash TM.
The following properties allows you to map some of those attributes to Squash TM user account.
Their default value is null (no mapping defined for that attribute). This is different from a blank value, i.e. if you do not need them, keep them commented out.
saml.user-mapping.alternate-usernameDefines an extra attribute value as the username in Squash TM (instead of the nominal NameID)-A property name
saml.user-mapping.first-nameDefines an extra attribute value as the first name of a user account in Squash TM-A property name
saml.user-mapping.last-nameDefines an extra attribute value as the last name of a user account in Squash TM-A property name
saml.user-mapping.emailDefines an extra attribute value as the email of a user account in Squash TM-A property name

OpenId Connect

See this page for more information.
<idp-name> should be replaced with the lowercase name of the IdP.

ParameterDescriptionDefaultNotes
Main configuration
oidc.access.whitelistRestricts access based on user's email domain-A comma separated list of domains
By default, access to Squash TM and restriction of users is to be configured directly in the IdP.
This property handles restriction of access on Squash TM's side in case the IdP does not offer that possibility.
It verifies that the connecting user's e-mail domain matches one or more of the domain values indicated via this property.
If this property is left blank, no restrictions will be applied.
For example:
@company-name.com,@domain.fr
preferred-auth-urlSets the main entry point for unauthenticated user requests/login (i.e. login page for form-based basic authentication)This property handles Squash TM's behavior in terms of unauthenticated user requests.
It defines the URL to which the user will be redirected for login, in other words, it sets the main entry point.
If the set value matches the pattern /oidc/authorization/<idp-name> , the login will be redirected to the specified IdP's login page or logged in directly if they are already connected to their IdP.
Note: this is a generic Squash TM property and is not exclusive to OpenId Connect.
IdP provider optionsThe options below allow you to declare a new custom IdP to use with Squash. For some providers (Google, Facebook, GitHub, Okta…), some of these properties are pre-configured and can be omitted.
The OpenID Connect configuration values for an IdP are often accessible from the provider's well-known Configuration Endpoint: <issuer-uri>/.well-known/openid-configuration
spring.security.oauth2.client.provider.<idp-name>.user-name-attributeSpecifies which attribute to use as username in Squash TM--
spring.security.oauth2.client.provider.<idp-name>.issuer-uriSpecifies the issuer identifier URL--
spring.security.oauth2.client.provider.<idp-name>.authorization-uriSpecifies the IdP endpoint to start the authorization request--
spring.security.oauth2.client.provider.<idp-name>.token-uriSpecifies the endpoint for retrieving access tokens--
spring.security.oauth2.client.provider.<idp-name>.user-info-uriSpecifies the endpoint for retrieving user data--
spring.security.oauth2.client.provider.<idp-name>.jwk-set-uriSpecifies the URI to retrieve the Auth provider's public key-This is used to verify JWT tokens
IdP client options
spring.security.oauth2.client.registration.<idp-name>.client-idSpecifies the OAuth2 client identifier-Provided by the IdP when registering your Squash TM instance.
spring.security.oauth2.client.registration.<idp-name>.client-secretSpecifies the OAuth2 client secret-Provided by the IdP when registering your Squash TM instance.
spring.security.oauth2.client.registration.<idp-name>.authorization-grant-typeSpecifies the OAuth2 grant type-Squash TM supports authorization_code.
spring.security.oauth2.client.registration.<idp-name>.redirect-uriSpecifies the URL to which the authentication response will be sent-Must match the /oidc/code/*pattern
This is the redirect URI configured in the IdP.
spring.security.oauth2.client.registration.<idp-name>.scopeDefines the information the IdP will provide about the user-The available scopes can vary from one IdP to another. OpenId Connect requires the openid scope, but additional scopes can be specified.
spring.security.oauth2.client.registration.<idp-name>.client-nameSpecifies the name of the IdP client--