Skip to content

Commit 6e506f1

Browse files
fix unnecessary charset
not wrong, but crashes destination if expressjs/body-parser#237 e.g. https://github.com/opengovsg/mockpass
1 parent 760055d commit 6e506f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/singpass/singpass-helper-ndi.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export class NdiOidcHelper {
8888

8989
const config = {
9090
headers: {
91-
"content-type": "application/x-www-form-urlencoded; charset=ISO-8859-1"
91+
"content-type": "application/x-www-form-urlencoded"
9292
},
9393
};
9494
const response = await this.axiosClient.post<TokenResponse>(token_endpoint, body, config);

0 commit comments

Comments
 (0)