Commit graph

3 commits

Author SHA1 Message Date
9fc33725b7 fix: use OAuth client credentials when PAT is missing
The login flow now falls back to OAuth client credentials flow when
the admin PAT token is not available. This allows login.html to work
even when Zitadel PAT generation hasn't been configured yet.

- Added get_oauth_token() helper function
- Login now tries PAT first, then OAuth client credentials
- Includes proper Zitadel scope for API access

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-28 14:46:54 -03:00
792a13eb67 chore: synchronize submodules and update root dependencies
Some checks failed
BotServer CI / build (push) Failing after 9s
2026-02-22 15:56:19 -03:00
5b34b21622 Fix all 61 warnings in botserver
- Remove unused imports across 14 files
- Fix unused variables (prefixed with _)
- Fix return types to use anyhow::Result where needed
- Remove cfg!(feature = "sigkill") (invalid feature)
- Fix typo: axum -> axum in imports

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-13 12:53:31 +00:00