Skip to content

Commit 67f566a

Browse files
committed
Fix: Double URL encoding in proxy upstream after internalRedirect
1 parent b8c9494 commit 67f566a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

openid_connect.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,7 @@ function auth(r, afterSyncCheck) {
111111
r.variables.refresh_token = tokenset.refresh_token; // Update key-value store
112112
}
113113

114-
delete r.headersOut["WWW-Authenticate"]; // Remove evidence of original failed auth_jwt
115-
r.internalRedirect(r.variables.request_uri); // Continue processing original request
114+
retryOriginalRequest(r); // Continue processing original request
116115
}
117116
);
118117
} catch (e) {

0 commit comments

Comments
 (0)