mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-02-08 22:05:08 -05:00
Allow users to create and manage their own OAuth applications from
the profile settings page, in addition to admin management.
Backend changes:
- Add user OAuth endpoints: POST /apps (create), PATCH /apps/{id}
(update), DELETE /apps/{id} (delete), POST /apps/{id}/regenerate-secret
- Add user_update_oauth_application function in data layer
- Verify ownership for all user operations
Frontend changes:
- Update OAuthAppsSection with create app dialog
- Add delete confirmation and regenerate secret dialogs
- Add BackendAPI methods for user OAuth operations
- Update useOAuthApps hook with create, delete, regenerate handlers
- Show client secret securely with copy and visibility toggle