Signup with Slack


Add Slack as Auth Provider

a) Go to your Selfbits BaaS dashboard and select your project. Then go to Authentication > Auth Provider

b) Add Slack as an Authentication provider at OAuthM Providers by clicking on Activate in the line of Slack

c) Go to the list of active providers by selecting the Active tab. Click on Configure for the entry Slack. Copy the Redirect URI to your clipboard


Create a new Slack OAuth application

a) Head to the Slack API and click Create New App

b) Enter your applications name and choos a Team (Attention: you have to have admin rights in this team!). After that click Create App

c) Go to OAuth & Permissions in the menu on the left side and paste or type the Redirect URI from earlier as Redirect URI into the form. Then click Save Changes

d) Go to Basic Informations in the menu on the left side. You should see now the Client Id and Client Secret. You'll need both in the next step.


Add credentials to Selfbits

a) Go back to your Selfbits BaaS dashboard and select your project.

b) Select Authentication > Auth Provider > Active > Slack > Configure

c) Insert the Slack Client Id and Client Secret and click on Save


Connection Test - Preparation

  • skip this and go to '5. Connection Test' if this is your first connection test of an auth provider at Selfbits

Attention: If you want to test registration with different OAuth Providers , please remember that our database uses the email-address of your OAuth Provider as primary key. That means you can register only with OAuth Providers with different account email addresses. But its possible to map them later in the app. If you want to test registration with different OAuth providers with the same email here in the live demo, you have to delete the user with this email address

a) Go to your Selfbits BaaS dashboard and select your project. Then go to Authentication > User .

b) Delete the user with the same email-address as your Slack-Account.


Connection Test

a) Go to your Selfbits BaaS dashboard and select your project. Then go to Templates

b) Click in the Livedemo on the Slack Logo. If you will be redirected to the Dashboard of the "Live Demo" the connection was successfully.

c) Go to your Selfbits BaaS dashboard and select your project. And go to Authentication > User. You should now find there your github user you registered to Selfbits.


Authentication with Slack is now set up for your project. You can trigger authentication from the SDK or one of our starter apps.

For further information regarding the Slack OAuth APIs visit the Slack API page