fix(core): Exclude oAuth callback urls from browser-id checks (#9158)
This commit is contained in:
committed by
GitHub
parent
9bd8e10b35
commit
46e432b177
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user