In my last post "No Fork Required" I showed that it's possible to add an Atmosphere account on your Android and use it with participating apps, letting you log in without having to enter a password (or 2FA) every. single. time. you want to use your account. Obviously the next que…
I've skirted around this for the longest time because I think others have tried and are much better (like @cozylittle.house's explainer) at explaining what an "Atmosphere account" means, so let's take a quick detour to make sure we're all on the same page.
6
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
147
byteStart
120
features
0
uri
https://pds.scottlanoue.com/
$type
pub.leaflet.richtext.facet#link
plaintext
You log in to Bluesky, Blacksky, Northsky, Eurosky, Selfhosted.Social, or other PDS, or even your own bespoke PDS (ahem https://pds.scottlanoue.com) using your Atmosphere account.
Why is it called an Atmosphere account? Well, that's because the incredible @shreyanjain.net coined the term "Atmosphere" (3 years ago!) and this is the account that you use while using these applications:
Microblogging platforms are not the only thing to which your Atmosphere account will give you access, there's actually an entire atstore ("at" being the ATProtocol or atproto) that uses your Atmosphere account, some of my personal favorites include:
10
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.unorderedList
children
0
$type
pub.leaflet.blocks.unorderedList#listItem
content
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
7
byteStart
0
features
0
uri
https://atstore.fyi/products/tangled
$type
pub.leaflet.richtext.facet#link
plaintext
tangled - a place for sharing code (git forge)
1
$type
pub.leaflet.blocks.unorderedList#listItem
content
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
8
byteStart
0
features
0
uri
https://atstore.fyi/products/lexidraw
$type
pub.leaflet.richtext.facet#link
plaintext
lexidraw - diagrams and drawings
2
$type
pub.leaflet.blocks.unorderedList#listItem
content
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
5
byteStart
0
features
0
uri
https://atstore.fyi/products/grain
$type
pub.leaflet.richtext.facet#link
plaintext
grain - photo sharing
3
$type
pub.leaflet.blocks.unorderedList#listItem
content
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
4
byteStart
0
features
0
uri
https://atstore.fyi/products/sifa
$type
pub.leaflet.richtext.facet#link
plaintext
sifa - linkedin but without being awful
4
$type
pub.leaflet.blocks.unorderedList#listItem
content
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
10
byteStart
0
features
0
uri
https://atstore.fyi/products/wisp-place
$type
pub.leaflet.richtext.facet#link
plaintext
wisp.place - the fastest and easiest way to make a website
11
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
facets
0
index
byteEnd
160
byteStart
150
features
0
$type
pub.leaflet.richtext.facet#italic
1
index
byteEnd
184
byteStart
179
features
0
uri
https://pds.ls
$type
pub.leaflet.richtext.facet#link
plaintext
And so many more that I can't mention them all here. If you're curious, you can sleuth some of the data I've created across Atmosphere apps using the exquisite piece of software, PDSls:
Going back a step, we can think of the Atmosphere account as a replacement for our Google or Microsoft or Apple or X or Facebook account. Every time that you use one of those accounts to create an account on a new service, you are giving part of the control of your identity away …
15
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
plaintext
Atmosphere accounts are fundamentally different, as much as you are willing to understand who is in control. Let's say you're new to the Atmosphere and start by opening an account on Bluesky. Great! Welcome to the Atmosphere. Bluesky is now in control of your identity and account…
Fortunately, it's not that hard to move your account/identity to somewhere that might make you more comfortable with who is in control, thanks to amazing tools like PDS Moover by @pds.dad. If you're feeling really ... motivated? you could go as far as hosting your own account, in…
17
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
plaintext
Okay I know that's not perfect, but I hope that clears up some confusion for one person out there. Even if it's my friends and family who probably still have a rough understanding of what I'm spending my days and nights working on. Shall we get to the point of this post?
18
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.header
level
2
plaintext
What about iOS though?
19
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
plaintext
When you log in to your Google account on your iPhone, the next time you log in to a Google app or an application that uses your Google credential, you don't have to enter a password (sometimes). Instead, you say: "Yes, I agree that Strava/Hipcamp/AllTrails/etc can use my Google …
Install new Atmosphere app like Mu Social (congrats on the TestFlight launch!)
2
$type
pub.leaflet.blocks.orderedList#listItem
content
$type
pub.leaflet.blocks.text
plaintext
App asks if I want to use my Atmosphere account from step #1
3
$type
pub.leaflet.blocks.orderedList#listItem
content
$type
pub.leaflet.blocks.text
plaintext
Authorize the request + relevant OAuth grants, no additional password input
4
$type
pub.leaflet.blocks.orderedList#listItem
content
$type
pub.leaflet.blocks.text
plaintext
Success
startIndex
1
22
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
plaintext
So I built that, and here it is in action, using a fork of the Bluesky app, instead of Mu (at least, steps 3-5 in action):
23
$type
pub.leaflet.pages.linearDocument#block
block
alt
Screen recording of my Bluesky fork on an iPhone. I tap “Continue with Atmosphere,” choose @scottlanoue.com, approve access on my PDS’s authorization page, and reach my feed without entering a password.
Then, in participating apps like the fork of Bluesky Social that I show above, you can choose "Continue with Atmosphere." A bottom sheet pops up, I choose my account and authorize access, then I'm signed in, woo!
I also built an account chooser that apps can open, which I then added to my Bluesky Social fork. On Android, I could register the account with the operating system ("device-level" identity). On iOS, I'm using Apple's built-in sign-in browser sheet, called ASWebAuthenticationSess…
29
$type
pub.leaflet.pages.linearDocument#block
block
$type
pub.leaflet.blocks.text
plaintext
The first login on my iPhone uses standard OAuth. Then when I open an app to sign in, it asks my PDS for permission to use my account. My PDS remembers that I've signed in through the browser, so I can approve the access request without entering my password again.
On my PDS, I made the existing remember-login option start checked during Identity's initial sign-in. That's the setup shown here. When I tested my Bluesky-hosted account, it still asked for my password, so there's still some work left in figuring out why that account asks for my…
For now, this is a private TestFlight prototype that requires other apps to add the integration. I’d love to get the same experience working consistently across account providers and make it easier for app developers to support.
TL;DR: I built a prototype of using my Atmosphere account on iOS by using browser sessions, which is similar to how Google accomplishes the same flow on iOS (sauce).