FrameOS Cloud 2/4: cloud login on backends and frames#264
Open
mariusandra wants to merge 2 commits into
Open
Conversation
Phase 1 of CLOUD-TODO.md, on top of the device-flow link: - "Continue with FrameOS Cloud" on /login and the first-run /signup (which can create the first user from a cloud principal), plus the frame's on-device /admin login - Explicit identity linking — an email match is not proof of ownership; the account that approved the link is auto-linked at connect time - Local-fallback toggle with lockout prevention: losing the cloud link (or dropping the auth:login scope) always re-enables local passwords - No cloud-login option under Home Assistant ingress - In-place feature (scope) changes with cloud-side approval for additions; the auth:login toggle is the first consumer - Grants/inventory sync loop in the ARQ worker; a cloud-side revocation resets the link and re-enables local login - Logging out hands the browser to the cloud's logout so it does not sign straight back in Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This was referenced Jul 18, 2026
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.
Summary
Part 2 of the FrameOS Cloud stack (on top of #263; followed by the backups PR and #257).
Cloud sign-in for every FrameOS surface, built on the device-flow link:
/loginand the first-run/signup(which can create the first user from a cloud principal), plus the frame's on-device/adminloginauth:loginscope always re-enables local passwordsauth:logintoggle in settings is the first consumerTest plan
pytest test_cloud.py test_cloud_features.py test_cloud_login.py app/cloud/tests/test_sync.py— 40 passed (full backend suite: 765 passed)nim c -r src/frameos/server/tests/test_auth.nim— green; full frameos compile check passes🤖 Generated with Claude Code