[COMPASS-6873] OIDC plugin should not wait for closed connections Created: 26/May/23 Updated: 29/Oct/23 Resolved: 31/May/23 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | Connectivity |
| Affects Version/s: | None |
| Fix Version/s: | No version |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Anna Henningsen | Assignee: | Anna Henningsen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
OS: |
||
| Epic Link: | COMPASS-5955 |
| Documentation Changes: | Not Needed |
| Sprint: | Iteration Citipati |
| Description |
|
Currently, we call server.close() inside the OIDC plugin and wait for the 'close' event to be emitted. The latter only happens when the browser closes all connections to the server. We should not be waiting for that before finishing the authentication flow. |