Commit 2b25bc8
committed
fix(oidc-client): harden error paths and fix wellknown e2e test assertion
The bad-wellknown e2e test was asserting on a message from the authorize.background()
code path, but the factory itself returns early with a "Failed to fetch well-known
configuration" error when the HTTP fetch fails — the background path is never reached.
Also moves pure helper functions out of authorize.request.utils into authorize.request
to reduce circular dependency risk, and simplifies buildAuthorizeOptions to a plain
function instead of a Micro effect.1 parent 40745d1 commit 2b25bc8
7 files changed
Lines changed: 4454 additions & 5617 deletions
File tree
- e2e/oidc-suites/src
- packages
- davinci-client/api-report
- oidc-client/src/lib
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
0 commit comments