Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export const MicrosoftTeams: ConnectorSpec = {
'core.kibanaConnectorSpecs.microsoftTeams.auth.oauthAuthCode.authorizationUrl.helpText',
{
defaultMessage:
"Replace ''{tenantId}'' with your Azure AD tenant ID. For example: https://login.microsoftonline.com/your-tenant-id/oauth2/v2.0/authorize",
"Replace '{tenantId}' with your Azure AD tenant ID. For example: https://login.microsoftonline.com/your-tenant-id/oauth2/v2.0/authorize",
values: { tenantId: '{tenant-id}' },
}
),
Expand All @@ -109,7 +109,7 @@ export const MicrosoftTeams: ConnectorSpec = {
'core.kibanaConnectorSpecs.microsoftTeams.auth.oauthAuthCode.tokenUrl.helpText',
{
defaultMessage:
"Replace ''{tenantId}'' with your Azure AD tenant ID. For example: https://login.microsoftonline.com/your-tenant-id/oauth2/v2.0/token",
"Replace '{tenantId}' with your Azure AD tenant ID. For example: https://login.microsoftonline.com/your-tenant-id/oauth2/v2.0/token",
values: { tenantId: '{tenant-id}' },
}
),
Expand All @@ -135,7 +135,7 @@ export const MicrosoftTeams: ConnectorSpec = {
'core.kibanaConnectorSpecs.microsoftTeams.auth.oauth.tokenUrl.helpText',
{
defaultMessage:
"Replace ''{tenantId}'' with your Azure AD tenant ID. For example: https://login.microsoftonline.com/your-tenant-id/oauth2/v2.0/token",
"Replace '{tenantId}' with your Azure AD tenant ID. For example: https://login.microsoftonline.com/your-tenant-id/oauth2/v2.0/token",
values: { tenantId: '{tenant-id}' },
}
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const SharepointOnline: ConnectorSpec = {
'core.kibanaConnectorSpecs.sharepointOnline.auth.oauth.tokenUrl.helpText',
{
defaultMessage:
"Replace ''{tenantId}'' with your Azure AD tenant ID. For example: https://login.microsoftonline.com/your-tenant-id/oauth2/v2.0/token",
"Replace '{tenantId}' with your Azure AD tenant ID. For example: https://login.microsoftonline.com/your-tenant-id/oauth2/v2.0/token",
values: { tenantId: '{tenant-id}' },
}
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,17 +228,20 @@ export const Snowflake: ConnectorSpec = {
overrides: {
meta: {
authorizationUrl: {
placeholder: 'https://<account>.snowflakecomputing.com/oauth/authorize',
placeholder: 'https://{account}.snowflakecomputing.com/oauth/authorize',
helpText: i18n.translate(
'core.kibanaConnectorSpecs.snowflake.auth.oauth.authorizationUrl.helpText',
{
defaultMessage:
'Snowflake OAuth authorization URL. Replace <account> with your Snowflake account identifier.',
"Snowflake OAuth authorization URL. Replace '{account}' with your Snowflake account identifier.",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't we need a values: {...} here as well?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay @lorenabalan - I'm not sure I quite follow what you mean here?

Copy link
Copy Markdown
Contributor

@lorenabalan lorenabalan May 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comparing to src/platform/packages/shared/kbn-connector-specs/src/specs/sharepoint_online/sharepoint_online.ts for example. We pass

{
    defaultMessage: ...,
    values: {...},
}

otherwise I'm not sure if it's formatted correctly, doesn't it expect an account variable to plugin into the format string?

values: {
accountPlaceholder: '{account}',
},
}
),
},
tokenUrl: {
placeholder: 'https://<account>.snowflakecomputing.com/oauth/token-request',
placeholder: 'https://{account}.snowflakecomputing.com/oauth/token-request',
helpText: i18n.translate(
'core.kibanaConnectorSpecs.snowflake.auth.oauth.tokenUrl.helpText',
{
Expand Down
Loading