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

Ensure auth device token is saved to a file so it persists upgrades and reinstalls #3640

Merged
merged 5 commits into from
Aug 26, 2024

Conversation

Irev-Dev
Copy link
Collaborator

@Irev-Dev Irev-Dev commented Aug 23, 2024

Resolves #3639

Screen.Recording.2024-08-26.at.4.18.00.PM.mp4
Screenshare.-.2024-08-26.4_32_45.PM.mp4

Copy link

qa-wolf bot commented Aug 23, 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 Aug 23, 2024

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

Name Status Preview Updated (UTC)
modeling-app ✅ Ready (Inspect) Visit Preview Aug 26, 2024 6:47am

@Irev-Dev Irev-Dev marked this pull request as ready for review August 26, 2024 05:38
@Irev-Dev Irev-Dev requested a review from nadr0 August 26, 2024 05:38
@@ -189,3 +192,26 @@ function getCookie(cname: string): string | null {
}
return null
}

async function getAndSyncStoredToken(context: UserContext): Promise<string> {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for rewriting this ternary logic. Flow is easier to read

Copy link
Collaborator

@nadr0 nadr0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Chatted through workflows with Jess. This is good to go.

@Irev-Dev Irev-Dev merged commit f6bb101 into main Aug 26, 2024
24 checks passed
@Irev-Dev Irev-Dev deleted the kurt-3639 branch August 26, 2024 19:59
Irev-Dev added a commit that referenced this pull request Aug 27, 2024
@pierremtb pierremtb mentioned this pull request Sep 3, 2024
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.

ensure auth device token is saved to a file so it persists upgrades and reinstalls
2 participants