✨ Cloud authentication, basic status bar and project linking/unlinking#32
Merged
savannahostrowski merged 26 commits intomainfrom Feb 2, 2026
Merged
✨ Cloud authentication, basic status bar and project linking/unlinking#32savannahostrowski merged 26 commits intomainfrom
savannahostrowski merged 26 commits intomainfrom
Conversation
Member
Author
|
I'm going to merge this, since it blocks other work. It's actually more tests than source code 😅 . Happy to revisit UX choices later (it'll become very apparent how this can be improved once y'all play around with it). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes https://github.com/fastapilabs/cloud/issues/2423, https://github.com/fastapilabs/cloud/issues/2424, https://github.com/fastapilabs/cloud/issues/2425
Needs https://github.com/fastapilabs/cloud/pull/2712
This adds new commands in the command palette to sign in and out using a device flow, as well as commands to link and unlink an app. This also works in both local and in browser contexts (e.g. vscode.dev/github.dev).
The new status bar in the bottom left has a couple states:
.fastapicloud/cloud.json) → "Set up FastAPI Cloud"In "Set up FastAPI Cloud" state, clicking the status bar shows a quick pick:
In the "⚠ FastAPI Cloud" state, clicking the status bar shows a warning toast prompting the user to unlink and relink.

When an app is linked, clicking the status bar shows Open App, Dashboard, and a More... menu with Unlink and Sign Out.

Users will also now see their auth status in the accounts menu as well.

More details:
fastapi.cloud.enabledwhich controls whether the cloud features are enabled (they are enabled by default but I figured that there may be users who don't want them at all and I'd like to give them a way to declutter if they aren't interested).