Skip to content

Commit 21fac72

Browse files
authored
Fix 404 on SSO callback handler (aws#4924)
Browsers would attempt to request `favicon.ico` which fail all request chains, leading to platform fallback to `BuiltInWebServer`/`DefaultWebServerPathHandler`. This would be fine, except the platform webserver respects the browser's `Connection: keep-alive` flag and keeps the Netty channel open, and subsequent requests to `.../oauthCallback/...` get handled by `DefaultWebServerPathHandler` and always return 404.
1 parent 7ff4f29 commit 21fac72

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type" : "bugfix",
3+
"description" : "Fix issue where multiple SSO login attempts in a short time result in 404"
4+
}

plugins/core/jetbrains-community/resources/oauthCallback/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<title>AWS Authentication</title>
99
<meta name="viewport" content="width=device-width, initial-scale=1" />
1010
<link rel="stylesheet" type="text/css" media="screen" href="auth.css" />
11+
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
1112
</head>
1213

1314
<body>

0 commit comments

Comments
 (0)