fix(core): Exclude oAuth callback urls from browser-id checks (#9158)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-04-17 19:20:51 +02:00
committed by GitHub
parent 9bd8e10b35
commit 46e432b177

View File

@@ -42,6 +42,10 @@ const skipBrowserIdCheckEndpoints = [
// We need to exclude binary-data downloading endpoint because we can't send custom headers on `<embed>` tags
`/${restEndpoint}/binary-data`,
// oAuth callback urls aren't called by the frontend. therefore we can't send custom header on these requests
`/${restEndpoint}/oauth1-credential/callback`,
`/${restEndpoint}/oauth2-credential/callback`,
];
@Service()