Skip to content

feat: auto-approve during login by default#11

Merged
Saturate merged 3 commits into
mainfrom
feat/login-auto-approve
Apr 10, 2026
Merged

feat: auto-approve during login by default#11
Saturate merged 3 commits into
mainfrom
feat/login-auto-approve

Conversation

@Saturate
Copy link
Copy Markdown
Owner

@Saturate Saturate commented Apr 10, 2026

Summary

mitid login now handles both login and approval in a single command. No more two-terminal dance.

  • Resolves the identity and starts approve() in the background before calling login()
  • The approve polls until the login flow triggers the push, then approves it
  • Use --no-approve to opt out (e.g. when approving from a different machine)
  • Updated guide and README

Before

# Terminal 1
mitid login myuser https://service.example.com/login
# Terminal 2
mitid approve myuser

After

mitid login myuser https://service.example.com/login

Login now resolves the identity and starts the simulator approve in
the background automatically. No need for a second terminal.

Use --no-approve to opt out and approve separately.
@Saturate Saturate merged commit df9f86b into main Apr 10, 2026
2 checks passed
@Saturate Saturate deleted the feat/login-auto-approve branch April 10, 2026 09:22
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.

1 participant