Mastodon app permissions are poorly explained
Published: 2022-05-26 21:10:45

---
title: Mastodon app permissions are poorly explained
published: true
date: 2022-04-28 16:20:32 UTC
tags: 
canonical_url: https://www.lkhrs.com/blog/2022/04/mastodon-oauth/
---

Imagine you’re a new user to [Mastodon](https://joinmastodon.org), the federated alternative to Twitter some of your friends are joining. You’re not the most technical person but you love checking out new stuff. You download the official app, or a third party app because your friends are big fans of the local timeline. Then you choose an instance, log in, and are presented with this page:

[![Mastdon app permissions page](https://www.lkhrs.com/blog/2022/04/mastodon-oauth/Lb4dkPE6_hue184e5be2e8ade7b694fd63a0ded3b4b_56298_980x0_resize_q85_h2_box_3.webp)](https://www.lkhrs.com/blog/2022/04/mastodon-oauth/Lb4dkPE6.png)

## What does any of this mean?

None of these permissions are explained. There’s a green checkbox, and apparently the app has read and write access to these things, but what do these things do?

“Everything” sounds scary, can this app change my password or otherwise take over my account?

“Relationships” means the app can manage your following list or followers, or does it? Maybe it can also access my contacts on my device?

“Push notifications” is obvious I guess, but read and write? In this scenario I’m not a technical user, so is this app snooping on my notifications?

Oh, and “push notifications” is cut off at the bottom, implying that the list is scrollable or expandable, but it isn’t.

At the top of the page, buried in text, there’s a helpful note that says, “if you do not trust it, then you should not authorize it”. It’s not obvious and is going to get skipped over.

## Why is this a problem?

Users should clearly understand what it means to authorize an app to their Mastodon account, with each permission clearly outlined and explained. They’re not going to check the docs or another page to try and figure it out. **The terms used in [the docs](https://docs.joinmastodon.org/api/oauth-scopes/#list-of-scopes) don’t even match what’s on the authorization screen.**

I think this is even more important for a “decentralized” network and open API like Mastodon. With many different third-parties hosting instances and creating apps, it should be _very clear_ what you’re allowing the app to do.

For contrast, here’s what Twitter does:

[![Twitter OAuth page](https://www.lkhrs.com/blog/2022/04/mastodon-oauth/HLmjKeUD_huba1e8c8ab347c5b606f3e2de5e7b512c_139677_1314x0_resize_q85_h2_box_3.webp)](https://www.lkhrs.com/blog/2022/04/mastodon-oauth/HLmjKeUD.png)

The page layout really needs some work, but the permissions are explained in detail - **you know exactly what the app can do** when you authorize it.

Here’s GitHub’s app authorization page:

[![GitHub&rsquo;s OAuth page](https://www.lkhrs.com/blog/2022/04/mastodon-oauth/3SaLP_hu19a0e6323efce1a31aa3238cc96433a7_34556_1118x0_resize_q85_h2_box_3.webp)](https://www.lkhrs.com/blog/2022/04/mastodon-oauth/3SaLP.png)

Neat, I know that this app can find out what my email address is, it was created 3 days ago, and isn’t used by a lot of people.

And here’s Google’s app authorization page:

[![Google OAuth page](https://www.lkhrs.com/blog/2022/04/mastodon-oauth/cjy8jLQJ_huc74b0c8efc09bfdf2da7ee975bb0f213_113054_1170x0_resize_q85_h2_box_3.webp)](https://www.lkhrs.com/blog/2022/04/mastodon-oauth/cjy8jLQJ.png)

I like this one a lot because you can control what the app can access. “Personal info” needs to be explained better, but I do know the app can see my email address and can access my Analytics and Search Console data.

### What I suggest instead

- The “If you do not trust it” notice should be displayed by itself and prominent
- Permissions labels should be more descriptive of what they do
- Change the permission block names to better highlight what they do (Post toots on your behalf, change who you follow)
- List the most destructive action first followed by the next most destructive option (read and post toots and direct messages, add/remove favorites)
- Expandable accordions to list all permissions in the group
- Authorize/deny buttons should always be at the bottom of the list so users have to read the permissions before authorizing
- **Optional:** list of what the app **cannot** do

[![Mastodon OAuth page mockup](https://www.lkhrs.com/blog/2022/04/mastodon-oauth/image-20220428130820292_hud90e2c82e560f55b40f252daed374d24_50627_860x0_resize_q85_h2_box_3.webp)](https://www.lkhrs.com/blog/2022/04/mastodon-oauth/image-20220428130820292.png)

This was a quick mockup I made in Figma. The ordering and specific labeling needs discussion, I’m just illustrating an example that I think better explains what authorizing an app does.