We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3737898 commit cc18326Copy full SHA for cc18326
src/common/providers/identity.ts
@@ -835,9 +835,13 @@ export function wrapHandler(
835
'skipTokenVerification'
836
)
837
? unsafeDecodeAuthBlockingToken(req.body.data.jwt)
838
+ : handler.length === 2
839
+ ? await apps()
840
+ .admin.auth()
841
+ ._verifyAuthBlockingToken(req.body.data.jwt)
842
: await apps()
843
.admin.auth()
- ._verifyAuthBlockingToken(req.body.data.jwt);
844
+ ._verifyAuthBlockingToken(req.body.data.jwt, 'run.app');
845
846
const authUserRecord = parseAuthUserRecord(decodedPayload.user_record);
847
const authEventContext = parseAuthEventContext(decodedPayload, projectId);
0 commit comments