Skip to content

feat: add reusable auth policy and OAuth steps#2

Merged
intel352 merged 15 commits into
mainfrom
feat/auth-oauth-extraction
Apr 26, 2026
Merged

feat: add reusable auth policy and OAuth steps#2
intel352 merged 15 commits into
mainfrom
feat/auth-oauth-extraction

Conversation

@intel352
Copy link
Copy Markdown
Contributor

Summary

  • add reusable auth primitives for password compatibility, challenge codes, phone normalization, auth method policy/audit, and OAuth provider/start/exchange/userinfo
  • preserve BMW migration compatibility with provider_user, phone, and phone_valid aliases
  • harden challenge verification with HMAC context binding and fail-closed attempt parsing
  • constrain OAuth endpoint overrides to strict test mode or expected Google HTTPS hosts
  • align plugin.json with wfctl validation requirements and add manifest validation to CI

Verification

  • GOWORK=off go test ./... -count=1
  • GOWORK=off go build ./cmd/workflow-plugin-auth
  • wfctl plugin validate -file plugin.json
  • git diff --check
  • final adversarial review: SHIP-IT after fixes

Follow-up

After this merges, release v0.1.5, then update BMW to consume the public step.auth_* primitives and remove the duplicate BMW-local auth step implementations.

Comment thread .github/workflows/ci.yml Fixed
@intel352 intel352 merged commit 7244241 into main Apr 26, 2026
3 checks passed
@intel352 intel352 deleted the feat/auth-oauth-extraction branch April 26, 2026 14:52
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