JanssenProject / JanssenProject/jans
fix(oxauth): add waitForPageSwitch to wait for last redirect
Open
kind-bug
- Dominant language
- Java
- Stars
- 647
- Forks
- 173
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 110
Description
After clicking the consent-page Allow button, HtmlUnit follows the redirect chain (JSF postback -> restv1/authorize -> final device_authorization.htm?code=...) in a background JS thread, but waitForPageSwitch returns on the first URL change
Contributor guide
Research direction
Start by locating the oxauth implementation and tests for waitForPageSwitch, then trace the consent-page Allow flow through the listed redirect chain. Confirm the wait does not return until the final device_authorization.htm?code=... URL is reached, and add or update coverage for that behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, authentication, security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100