mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 05:17:28 -08:00
fix(core): Exclude oAuth callback urls from browser-id checks (#9158)
This commit is contained in:
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()
|
||||
|
|
Loading…
Reference in a new issue