aws-samples / aws-samples/sample-collaborative-ai-dlc

[Bug]: Handle expiring GitHub OAuth App Tokens

Open
#462 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
75
Forks
23
Avg merge
3d 17h
Merged PRs (30d)
24

Description

### Description

Currently, the system assumes that GitHub OAuth App Tokens cannot expire. This is only true if the user has explicitly opted out of the expiration:

Image

### Steps to reproduce

1. Create a new GitHub OAuth App
2. Observe that token experiation is on
3. Wait for 8h - the token expires
4. Now the system forces you to redo your setup.

### Logs or screenshots

_No response_

### Environment

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the setup with a GitHub OAuth App whose token expiration is enabled, then trace the GitHub OAuth token handling and the path taken after the token expires. Done means an expired token is handled without forcing the user to redo the setup; add or update coverage for that expiration path if the project has tests for OAuth handling.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, javascript
Domain
api, authentication
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.