Introducing Sign in with Slack

Slack API
Slack API
May 10, 2016 · 4 min read

Today, we’re introducing Sign in with Slack, a way for customers to quickly sign up for your app using their Slack identity. More than just log in, Sign in with Slack keeps teams connected across the many apps they use for work.

Image for post
Image for post
Sign in with Slack

When a user signs up for your app using Sign in with Slack, they’ll be instantly connected to their teammates within your product. For customers, this is an invisible but delightful feature. It exemplifies our mission in action — making people’s working lives simpler, more pleasant, and more productive — by keeping teams effortlessly in sync.

Developer Benefits

  • It’s fast: sign up users for your app quickly by allowing them to use their existing Slack login and profile information.
  • It’s simple: add sign in with Slack in 3 steps. Enrich your app experience with Slack team and user information.
  • It’s secure: we’ll handle managing SSO providers and two-factor authentication, you just implement standard OAuth.

How to Use Sign in with Slack

  • identity.basic: request access to basic identifying information about the user and their team
  • identity.email: request access to the user’s email address
  • identity.avatar: request access to the user’s profile image
  • identity.team: request access to the user’s team name, domain, and icon image
Image for post
Image for post
Authenticating

Once someone’s completed the OAuth flow, all you need to do is call the users.identity method, and you’ll get all of the bits you requested for that team and user.

{
“ok”: true,
“team”: {
“domain”: “kingsguard”,
“id”: “T03PKGL8S”,
“image_102”: “https://s3-us-west-2.amazonaws.com/slack-files2/avatars/2016-05-09/41285962049_0c623216c7e408139013_102.jpg",
“image_132”: “https://s3-us-west-2.amazonaws.com/slack-files2/avatars/2016-05-09/41285962049_0c623216c7e408139013_132.jpg",
…,
“name”: “Kingsguard”
},
“user”: {
“email”: “swordofthemorning@kingslanding.net”,
“id”: “U03PKGLEE”,
“name”: “Arthur Dayne”
}
}

Partners Using Sign in with Slack

Quip

Image for post
Image for post
Quip Homepage

Upon signing in with Slack you are automatically connected to your Slack team within Quip. No extra team creation required — your team already exists within Quip in one fell swoop. From there, you can use Slack and Quip to supercharge the way that you brainstorm and create documents with your team.

Image for post
Image for post
Stay connected to your team

Figma

Image for post
Image for post
Figma Sign In
Image for post
Image for post
Slack Identity Authorization

Since Figma is a collaborative design product, staying connected to your team is critical. Upon signing in with Slack, Figma groups you with your Slack teammates so that you can get straight to work on files shared among your team.

Image for post
Image for post
Connected to Team in Figma

We have four other apps using Sign in with Slack today that you can check out: Kifi, OfficeVibe, Slackline and Smooz.

To get started

Slack Platform Blog

Several bots are typing…

Slack API

Written by

Slack API

The Slack Developer Blog. Other Slack news, features and tips can be found at http://slackhq.com but this? This is all API, all the time

Slack Platform Blog

Several bots are typing…

Slack API

Written by

Slack API

The Slack Developer Blog. Other Slack news, features and tips can be found at http://slackhq.com but this? This is all API, all the time

Slack Platform Blog

Several bots are typing…

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store