Auth0 Home Blog Docs

Add Slack Plugin to Wordpress

wordpress
slack

#1

Hi,

I have set up a custom connection to Slack but can’t find a way to enable it from the Wordpress plugin. The help page at https://auth0.com/docs/extensions/custom-social-extensions#wordpress states the following, but does not explain how to do it. I can’t find any mechanism within Wordpress to add/configure the plugin either :(.

“You will need to add the associated Plugin in WordPress for the social connection. For example, to enable login with Slack the Slack plugin will need to be enabled in WordPress (make sure you’re logged in as an Administrator).”

This issue was also discussed on the thread below, but again it does not quite explain how to add the Plugin/configuration within Wordpress.

https://community.auth0.com/t/adding-a-custom-social-connection-to-a-client/6391/2

Any help will be greatly received as this appears to be the last step I am missing in making a Slack oAuth work on my site.

Cheers,
Dash


#2

In case anyone else experiences this… The issue got resolved on its own and option for logging in with Slack showed up on its own. Probably down to caching issues/latency. Note though the Slack button does not have the Slack branding and uses the Auth0 logo, so easy to miss. A few CSS additions on the Appearance tab and it all works absolutely brilliantly, provided below if anyone is interested.

body.login div#login h1 a {
    background: none;
    display: none;
}

.auth0-lock-name {
    display: none;
}

.auth0-lock.auth0-lock .auth0-lock-header {
   height: auto;
}

button.auth0-lock-submit {
    background-color: #162838!important;
}
.auth0-lock-social-button[data-provider^=oauth2] .auth0-lock-social-button-icon {
   background-size: 115%;
   background-image:url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjIuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCAyNzAgM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MSw4LjJjLTAuNywwLjItMS41LDAuNC0yLjIsMC4zYy0yLjYtMC4xLTUuMS0xLjgtNi00LjRsLTIuOC04LjRsLTguMSwyLjdjLTAuNywwLjItMS41LDAuNC0yLjIsMC4zCgkJCQljLTIuNi0wLjEtNS4xLTEuOC02LTQuNGMtMS4xLTMuNCwwLjctNy4xLDQuMS04LjJsOC4xLTIuN2wtNS40LTE2LjFsLTguMSwyLjdjLTAuNywwLjItMS41LDAuNC0yLjIsMC4zYy0yLjYtMC4xLTUuMS0xLjgtNi00LjQKCQkJCWMtMS4xLTMuNCwwLjctNy4xLDQuMS04LjJsOC4xLTIuN2wtMi44LTguNGMtMS4xLTMuNCwwLjctNy4xLDQuMS04LjJzNy4xLDAuNyw4LjIsNC4xbDIuOCw4LjRsMTYuNy01LjZsLTIuOC04LjQKCQkJCWMtMS4xLTMuNCwwLjctNy4xLDQuMS04LjJjMy40LTEuMSw3LjEsMC43LDguMiw0LjFsMi44LDguNGw4LjEtMi43YzMuNC0xLjEsNy4xLDAuNyw4LjIsNC4xYzEuMSwzLjQtMC43LDcuMS00LjEsOC4ybC04LjEsMi43CgkJCQlsNS40LDE2LjFsOC4xLTIuN2MzLjQtMS4xLDcuMSwwLjcsOC4yLDQuMUMxNzguMSwxNDEuNiwxNzYuMywxNDUuMywxNzIuOSwxNDYuNHoiLz4KCQk8L2c+Cgk8L2c+CjwvZz4KPC9zdmc+Cg==')!important;
}

#3

Thank you for checking back in here! the WordPress plugin does not need any additional configuration now so I submitted a change to remove that from our docs.


#4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.