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

feat(cmd/goat): allow specifying authFactorToken #877

Merged
merged 4 commits into from
Dec 17, 2024

Conversation

lizthegrey
Copy link
Contributor

Supports using goat account login with email 2fa enabled so that users do not need to first disable 2fa to then get an email token anyways to obtain plc signing tokens.

@bnewbold
Copy link
Collaborator

would close: #787

Copy link
Collaborator

@bnewbold bnewbold left a comment

Choose a reason for hiding this comment

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

generally looks good. left some style nits (i'm personally opinionated about this particular tool/codebase).

there is a potential annoying case where the session times out, so the tool tries to refresh using username/password, and it fails b/c a token is resolved. it would in theory be nice to have a more specific error message/code about that, but it is probably rare enough to not block merging this improvement for now.

thanks for the contribution! a few folks have hit this and I should have been less lazy about implementing it from the start.

cmd/goat/account.go Outdated Show resolved Hide resolved
cmd/goat/account.go Outdated Show resolved Hide resolved
cmd/goat/account.go Outdated Show resolved Hide resolved
Copy link
Contributor Author

@lizthegrey lizthegrey left a comment

Choose a reason for hiding this comment

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

Thanks, all sorted.

cmd/goat/account.go Outdated Show resolved Hide resolved
cmd/goat/account.go Outdated Show resolved Hide resolved
cmd/goat/account.go Outdated Show resolved Hide resolved
@bnewbold bnewbold merged commit b125248 into bluesky-social:main Dec 17, 2024
2 checks passed
@bnewbold
Copy link
Collaborator

Thanks!

@lizthegrey lizthegrey deleted the patch-1 branch December 17, 2024 19:13
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.

2 participants