We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents adcef05 + 3318d09 commit 606c9abCopy full SHA for 606c9ab
packages/auth/src/providers/cognito/apis/signInWithRedirect.ts
@@ -119,11 +119,10 @@ const oauthSignIn = async ({
119
oAuthStore.storeOAuthState(state);
120
oAuthStore.storePKCE(value);
121
122
- const params = new URLSearchParams([
123
- ['redirect_uri', redirectUri],
124
- ['response_type', responseType],
125
- ['client_id', clientId],
126
- ]);
+ const params = new URLSearchParams();
+ params.append('redirect_uri', redirectUri);
+ params.append('response_type', responseType);
+ params.append('client_id', clientId);
127
128
// Add either identity_provider or idp_identifier, but not both
129
if (idpIdentifier) {
0 commit comments