mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
Allow any status code response from outer OAuth token endpoint
This commit is contained in:
parent
249c80fd00
commit
55d2147c2b
@ -17,7 +17,7 @@ export const POST = createSmartRouteHandler({
|
||||
}).unknown().defined(),
|
||||
}).defined(),
|
||||
response: yupObject({
|
||||
statusCode: yupNumber().oneOf([200]).defined(),
|
||||
statusCode: yupNumber().defined(),
|
||||
bodyType: yupString().oneOf(["json"]).defined(),
|
||||
body: yupMixed().defined(),
|
||||
headers: yupMixed().defined(),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user