Skip to content

Commit 4f481ee

Browse files
fix: forward second argument to fetch body in signIn
fixes #1206
1 parent 5dca70e commit 4f481ee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/client/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ export const signIn = async (provider, args = {}, authorizationParams = {}) => {
256256
'Content-Type': 'application/x-www-form-urlencoded'
257257
},
258258
body: _encodedForm({
259+
...args,
259260
csrfToken: await getCsrfToken(),
260261
callbackUrl: callbackUrl,
261262
json: true

0 commit comments

Comments
 (0)