Skip to content

feat: add enrollment token validation for agent enrollment#70

Open
SteveKueng wants to merge 1 commit into
open-uem:mainfrom
EigerCode:feature/enrollment-token
Open

feat: add enrollment token validation for agent enrollment#70
SteveKueng wants to merge 1 commit into
open-uem:mainfrom
EigerCode:feature/enrollment-token

Conversation

@SteveKueng
Copy link
Copy Markdown

Summary

  • Validate enrollment token during agent configuration requests
  • Look up token in database to determine target tenant and site
  • Increment token usage counter on successful enrollment
  • Reject expired or exhausted tokens

Context

When an agent sends a RemoteConfigRequest with an EnrollmentToken, the worker validates the token and assigns the agent to the tenant/site associated with that token.

Depends on: open-uem/ent#(multi-tenancy PR), open-uem/nats#(enrollment-token PR)

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