Sign in with ChatGPT (OAuth) for chat, using the open source app access
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript, python
- Lĩnh vực
- accessibility, api, authentication
Hướng nghiên cứu
Start by reading the OpenRouter PKCE exchange and OpenAI provider handling in web/src/acb_large_print_web/aa_ask.py, then compare the sign-in section in web/src/acb_large_print_web/static/accessibility-agents-ask.js and its template in web/src/acb_large_print_web/templates/accessibility_agents.html. Verify the current OpenAI OAuth scopes, plan access rules, branding, and token requirements against official documentation before estimating the implementation. Done means sign-in, account display, sign-out, API-key fallback, and the listed accessibility behaviors work on the chat page.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
Let users sign in with their ChatGPT account (OAuth) to use GLOW's chat, so their requests run on the ChatGPT plan they already have. OpenAI announced Sign in with ChatGPT at Dev Day, and open source apps can use the plan usage option through self-serve access now. GLOW is open source, so we qualify.
Today OpenAI users have to create an API key, set up API billing, and paste the key. That is a real barrier, especially for screen reader users.
What Sign in with ChatGPT offers
These details come from coverage of the Dev Day announcement. Check them against OpenAI's official docs before building.
- OAuth 2.0 and OpenID Connect sign-in with a ChatGPT account.
- Two permission levels: identity only, and plan usage, where the app's AI calls count against the user's ChatGPT plan.
- Open source projects get self-serve access to plan usage. Commercial apps go through a waitlist.
Proposal
- Register GLOW as an open source app with OpenAI and request plan usage access.
- Add a "Sign in with ChatGPT" button when the OpenAI provider is selected, next to the key field.
- Follow the same approach as our existing OpenRouter sign-in (OAuth PKCE): no secrets stored on our server, and pasting an API key still works as a fallback.
- Show which account is signed in and give a clear Sign out button.
- Confirm OpenAI's rules for scopes, models, rate limits, branding, and token handling.
Relevant code
web/src/acb_large_print_web/aa_ask.py(the OpenRouter PKCE exchange and theopenaiprovider)web/src/acb_large_print_web/static/accessibility-agents-ask.js(OpenRouter sign-in section)web/src/acb_large_print_web/templates/accessibility_agents.html(aa-openrouter-signin)
Accessibility requirements
- The sign-in button has a clear label and help text linked with
aria-describedby. - Sign-in success, failure, and sign out are announced in a status message.
- After the sign-in window closes, focus goes back to a sensible place.
- Works with VoiceOver, NVDA, and keyboard only, and meets WCAG 2.2 AA.
Related
#174 moves chat to its own page. This sign-in should live on that page.
- Ngôn ngữ chính
- Python
- Star
- 4
- Fork
- 1
- Merge trung bình
- 1 giờ 2 phút
- Pull request đã merge (30 ngày)
- 43
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Community-Access/glow
-
accessibility good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
Community-Access/glow#143 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
accessibility help wanted
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Community-Access/glow#146 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
accessibility help wanted
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
Community-Access/glow#125 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Community-Access/glow
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
-
SQL Lab: pasting text that matches no database into the "Data connection" select throws TypeErrorĐang mở#bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 2 ngày
-
bug crash needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Community-Access/quill#2135 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
munendra07-tech/agent-crashtest#20 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
braveapi: time range filter is sent as time_range, which the Brave API ignores (needs freshness)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
Maintainer thường phản hồi trong vòng 1 ngày