Skip to content

Add reporter info to GitHub issues from Auth0 profile#102

Merged
hannahscovill merged 1 commit intomainfrom
feature/issue-reporter-section
Feb 7, 2026
Merged

Add reporter info to GitHub issues from Auth0 profile#102
hannahscovill merged 1 commit intomainfrom
feature/issue-reporter-section

Conversation

@hannahscovill
Copy link
Owner

Summary

  • Resolve reporter display name and user ID server-side by calling the Auth0 Management API from the issues route handler
  • Render a ## Reporter section in the GitHub issue body with name and user ID
  • Gracefully degrade if the Auth0 profile lookup fails (log warning, continue without reporter info)
  • Update footer template from "Submitted anonymously" to "Submitted via"

Test plan

  • Submit an issue as an authenticated user and verify the GitHub issue contains a Reporter section with correct name and user ID
  • Verify existing issue types (bug, feature, question) still render correctly
  • Run cargo test — 17 github_issues tests pass including 2 new reporter tests

🤖 Generated with Claude Code

Resolve reporter display name and user ID server-side via the Auth0
Management API instead of relying on frontend-supplied data. The issue
handler fetches the authenticated user's profile and passes it to
build_issue_body, which renders a Reporter section with name and user ID.
Gracefully degrades if the Auth0 lookup fails.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@hannahscovill hannahscovill merged commit 0463b4d into main Feb 7, 2026
2 checks passed
@hannahscovill hannahscovill deleted the feature/issue-reporter-section branch February 7, 2026 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant