Skip to content

BotService slack channel field registerBeforeOAuthFlow incorrectly marked read-only, which breaks saving data Β #18367

Open
@shana

Description

@shana

When creating or updating bot service slack channels, the registerBeforeOAuthFlow field must be set to true in order for the client id and secrets data to be saved. This field is incorrectly marked read-only in the spec, so generated clients don't include it when creating/updating slack channels, causing the clientId, clientSecret, signingSecret and validationToken fields to be ignored on the server side. This breaks all clients trying to automate creating slack channels, and also breaks the az bot slack cli.

"registerBeforeOAuthFlow": {
"type": "boolean",
"description": "Whether to register the settings before OAuth validation is performed. Recommended to True.",
"readOnly": true
},

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bot ServiceService AttentionWorkflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions