Skip to content

feat: auto-register simulator code app when none exists#9

Merged
Saturate merged 2 commits into
mainfrom
feat/auto-register-code-app
Apr 10, 2026
Merged

feat: auto-register simulator code app when none exists#9
Saturate merged 2 commits into
mainfrom
feat/auto-register-code-app

Conversation

@Saturate
Copy link
Copy Markdown
Owner

@Saturate Saturate commented Apr 10, 2026

Summary

  • Commands that need a code app (approve, open, copy, save) now auto-register one via the MitID test simulator API (POST /authenticators/code-app/simulator) when the identity has no active code app
  • Adds --no-register flag to opt out of auto-registration
  • Filters for ACTIVE authenticators when resolving — revoked code apps are no longer picked up
  • Read-only commands (info, json) are unchanged and just report what exists
  • Exports registerCodeApp for library consumers

Commands that need a code app (approve, open, copy, save) now
automatically register one via the MitID test simulator API if the
identity has no active code app. Opt out with --no-register.

Also filters for ACTIVE authenticators when resolving, so revoked
code apps are no longer picked up.
@Saturate Saturate merged commit 3f0e638 into main Apr 10, 2026
2 checks passed
@Saturate Saturate deleted the feat/auto-register-code-app branch April 10, 2026 09:08
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