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

Add authentication infrastructure for AGS #4350

Open
Tracked by #4006
victordibia opened this issue Nov 25, 2024 · 0 comments
Open
Tracked by #4006

Add authentication infrastructure for AGS #4350

victordibia opened this issue Nov 25, 2024 · 0 comments
Assignees
Labels
needs-design A design needs to be created and agreed upo proj-studio Related to AutoGen Studio. size-large takes 1-2 weeks
Milestone

Comments

@victordibia
Copy link
Collaborator

victordibia commented Nov 25, 2024

Currently AGS lacks authentication, limiting its use in multi-user environments. We need to add authentication while maintaining ease of use.

Requirements

  1. Add auth for API routes and WebSocket connections
  2. Default mode: Works without configuration using local authentication (username/password)
  3. Support for configurable OAuth providers (GitHub, Microsoft, etc.)
  4. Update UI to load and apply auth config profiles etc.
  5. Optional RBAC support?

Potential Approach (subject to change)

  • FastAPI security dependencies for route protection
  • Local auth with configurable admin credentials
  • OAuth provider configuration via auth_config.yaml:
auth:
  enabled: true
  providers:
    local:
      enabled: true
      admin_user: admin
      admin_pass: changeme
    github:
      enabled: false
      client_id: ""
      client_secret: ""
...
@victordibia victordibia changed the title Add authentication infrastructure for AGS [Draft]Add authentication infrastructure for AGS Nov 25, 2024
@victordibia victordibia added needs-design A design needs to be created and agreed upo proj-studio Related to AutoGen Studio. labels Nov 25, 2024
@victordibia victordibia self-assigned this Nov 25, 2024
@victordibia victordibia added size-large takes 1-2 weeks and removed needs-triage labels Nov 25, 2024
@victordibia victordibia added this to the 0.4.1 milestone Nov 25, 2024
@victordibia victordibia changed the title [Draft]Add authentication infrastructure for AGS Add authentication infrastructure for AGS Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-design A design needs to be created and agreed upo proj-studio Related to AutoGen Studio. size-large takes 1-2 weeks
Projects
None yet
Development

No branches or pull requests

1 participant