Skip to content

Commit

Permalink
fix(authentication-oauth): Don't send origins in Grant's config, as i…
Browse files Browse the repository at this point in the history
…t will be considered another provider (#2617)
  • Loading branch information
cciocov authored May 3, 2022
1 parent 715fb80 commit ae3dddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/authentication-oauth/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const setup = (options: OauthSetupSettings) => (app: Application) => {
}
}

const grant = defaultsDeep({}, omit(oauth, 'redirect'), {
const grant = defaultsDeep({}, omit(oauth, ['redirect', 'origins']), {
defaults: {
prefix,
origin: `${protocol}://${host}`,
Expand Down

0 comments on commit ae3dddd

Please # to comment.