Skip to content

SlackAPI fails logging into Google authenticated Slack accounts (need AuthMode "google") #116

@christopherliu

Description

@christopherliu

Hello!

We use Slack accounts authenticated by Google. Currently, SlackAPI includes two AuthModes -- normal and saml -- and it throws an error whenever authenticating into one of our bot accounts, which don't use either method.

I was able to get SlackAPI to work by making the following addition to TeamPreferences.cs:

        public enum AuthMode
        {
            normal,
            saml,
            google
        }

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions