Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show device token while signing in #3935

Merged
merged 7 commits into from
Sep 23, 2024

Conversation

franknoirot
Copy link
Collaborator

@franknoirot franknoirot commented Sep 20, 2024

Closes #3721 by splitting the login functionality into two steps:

  1. startDeviceFlow which sets up the device authorization handle, registers the handle for step 2 (as a handleOnce handler), and returns the user_code to the frontend
  2. loginWithDeviceFlow which uses that previously-established handle to complete the sign-in flow.

Demo

Screenshare.-.2024-09-20.11_27_01.AM-compressed.mp4

Copy link

qa-wolf bot commented Sep 20, 2024

QA Wolf here! As you write new code it's important that your test coverage is keeping up.
Click here to request test coverage for this PR!

Copy link

vercel bot commented Sep 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
modeling-app ✅ Ready (Inspect) Visit Preview Sep 20, 2024 10:45pm

src/main.ts Outdated Show resolved Hide resolved
@franknoirot franknoirot merged commit 95ea142 into main Sep 23, 2024
24 checks passed
@franknoirot franknoirot deleted the franknoirot/3721/show-device-token branch September 23, 2024 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show the Device Activation code when users log in
3 participants