Files
OmniRoute/_ideia/_fetch/1584.json
Paijo 81fb3f50e8 feat: gamification & leaderboard system (#2405)
Integrated into release/v3.8.0
2026-05-19 09:46:20 -03:00

2 lines
2.0 KiB
JSON

{"author":{"id":"MDQ6VXNlcjM3Nzc3MjYx","is_bot":false,"login":"uwuclxdy","name":"cloudy"},"body":"### Problem / Use Case\n\nI'm trying to connect [CoStrict](https://zgsm.sangfor.com) to omniroute but it uses oauth.\n\n### Proposed Solution\n\nAdd support for CoStrict provider\n\n### Alternatives Considered\n\n_No response_\n\n### Acceptance Criteria\n\n- being able to authenticate with costrict account\n- token refresh, multiple accounts (all features as the other oauth providers)\n\n### Area\n\nProvider Support\n\n### Related Provider(s)\n\n_No response_\n\n### Additional Context\n\nread https://claude.ai/share/5d01e7b2-5771-4a96-9067-9c7fe1b4ba7a\n\n### Expected Test Plan\n\n_No response_","comments":[{"id":"IC_kwDORPf6ys8AAAABAXyEqw","author":{"login":"diegosouzapw"},"authorAssociation":"OWNER","body":"Thank you for the suggestion, @uwuclxdy. CoStrict (Sangfor's coding assistant) is an interesting OAuth-based provider.\n\nWe reviewed the shared analysis and the provider appears to use a standard OAuth 2.0 flow. Adding CoStrict would follow our existing OAuth provider pattern:\n1. OAuth constants in `src/lib/oauth/constants/oauth.ts`\n2. Executor in `open-sse/executors/` (likely extending the Claude Code-compatible executor given the Anthropic-style API)\n3. Token refresh flow in `open-sse/services/tokenRefresh.ts`\n\nWe'll track this for a future provider onboarding wave. If you have access to the actual OAuth client endpoints and API documentation beyond the shared analysis, that would help accelerate the integration.\n\nKeeping open for tracking.","createdAt":"2026-04-25T15:03:30Z","includesCreatedEdit":false,"isMinimized":false,"minimizedReason":"","reactionGroups":[],"url":"https://github.com/diegosouzapw/OmniRoute/issues/1584#issuecomment-4319904939","viewerDidAuthor":true}],"createdAt":"2026-04-25T11:46:48Z","labels":[{"id":"LA_kwDORPf6ys8AAAACYAlrLw","name":"enhancement","description":"New feature or request","color":"a2eeef"}],"number":1584,"title":"[Feature] CoStrict provider","url":"https://github.com/diegosouzapw/OmniRoute/issues/1584"}