CATcher-org / CATcher-org/CATcher

Cannot get past "Confirm Login Account" page on Eduroam Wifi Network

Open
#1,350 2 comments 0 reactions 0 assignees View on GitHub
category.Bug s.ToInvestigate
Dominant language
TypeScript
Stars
92
Forks
85
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
After opening catcher, setting the session, and signing in via Github, the catcher screen is stuck at "Confirm Login Account" page. After a while, an error message is displayed (see screenshot).

The CATCHer repo was also not created. Already retried in Safari incognito, Chrome, and with site data cleared.

Also tried: Clear site data + Revoke GitHub authentication token + redo steps 1-3 on Safari
Outcome: Re-authenticated, token was recreated, but still stuck on same page.

Logs from Safari:
```
====== New CATcher v3.6.0 Session Log ======
3/28/2025, 2:56:16 PM
AppComponent: AppConfig,[object Object]
AppComponent: Mode web
SessionSelectionComponent: Selected Settings Repo: nus-cs2103-AY2425S2/catcher-smoke-test
AuthService: Starting authentication
AuthService: Redirecting for Github authentication

====== New CATcher v3.6.0 Session Log ======
3/28/2025, 2:56:32 PM
AppComponent: AppConfig,[object Object]
AppComponent: Mode web
AuthComponent: Obtained authorisation code from Github
AuthComponent: Retrieving access token from Github
AuthComponent: Error in data fetched from access token URL: TypeError: Load failed
ErrorHandlingService: TypeError: Load failed
ErrorHandlingService: Error: Uncaught (in promise): TypeError: undefined is not an object (evaluating 'e.split')
cleanStack@https://catcher-org.github.io/CATcher/main.d044ed035976a6a5.js:196:432794
handleError@https://catcher-org.github.io/CATcher/main.d044ed035976a6a5.js:196:432607
@https://catcher-org.github.io/CATcher/main.d044ed035976a6a5.js:196:499083
onInvoke@https://catcher-org.github.io/CATcher/main.d044ed035976a6a5.js:1:195476
run@https://catcher-org.github.io/CATcher/polyfills.699b5bbb59238bcc.js:1:2641
@https://catcher-org.github.io/CATcher/polyfills.699b5bbb59238bcc.js:1:17482
onInvokeTask@https://catcher-org.github.io/CATcher/main.d044ed035976a6a5.js:1:195296
runTask@https://catcher-org.github.io/CATcher/polyfills.699b5bbb59238bcc.js:1:3263
_@https://catcher-org.github.io/CATcher/polyfills.699b5bbb59238bcc.js:1:9890
```

Logs from Chrome:
```
====== New CATcher v3.6.0 Session Log ======
3/28/2025, 3:17:19 PM
AppComponent: AppConfig,[object Object]
AppComponent: Mode web
SessionSelectionComponent: Selected Settings Repo: nus-cs2103-AY2425S2/catcher-smoke-test
AuthService: Starting authentication
AuthService: Redirecting for Github authentication

====== New CATcher v3.6.0 Session Log ======
3/28/2025, 3:17:26 PM
AppComponent: AppConfig,[object Object]
AppComponent: Mode web
AuthComponent: Obtained authorisation code from Github
AuthComponent: Retrieving access token from Github

====== New CATcher v3.6.0 Session Log ======
3/28/2025, 3:20:16 PM
AppComponent: AppConfig,[object Object]
AppComponent: Mode web
AuthComponent: Error in data fetched from access token URL: TypeError: Failed to fetch
ErrorHandlingService: TypeError: Failed to fetch
```

**To Reproduce**
Follow instructions as prescribed by CATCHER smoke test until step 3

**Expected behavior**
Be able to log in

**Screenshots**
Safari:
![Image](https://github.com/user-attachments/assets/02f56ac7-973d-45d3-8e82-789edff4bcd4)

Chrome:
Image

Github Settings:
![Image](https://github.com/user-attachments/assets/93cdcb7c-80d3-4aba-af0b-a2f6c5b4ac1d)

**Desktop (please complete the following information):**

- OS: MacOS
- Browser Safari and Chrome
- Version Safari 18.1, Chrome 134.0.6998.166 (Official Build) (arm64)

**Additional context**
Both safari and chrome were set to allow both popups and third party cookies

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with AuthService's access-token retrieval and AuthComponent's handling after the GitHub callback, using the smoke-test flow through step 3. Compare the Safari and Chrome failures around the access token URL and confirm the flow can complete login and create the CATCHer repository without getting stuck at "Confirm Login Account".

Written by the indexing model from the issue text.

Assessment

Tech stack
github, typescript
Domain
authentication, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.