Skip to content

Commit

Permalink
fix: admin.scope and store.scope parameters from medusa-config.js not…
Browse files Browse the repository at this point in the history
… passed through to passport (adrien2p#170)
  • Loading branch information
F-Wilke authored Jun 25, 2024
1 parent b376e9c commit b4c3359
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export function getAzureAdminStrategy(id: string): StrategyFactory<AzureAuthOpti
isB2C: strategyOptions.admin.isB2C ?? false,
issuer: strategyOptions.admin.issuer,
passReqToCallback: true,
scope: strategyOptions.admin.scope,
} as IOIDCStrategyOptionWithRequest);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export function getAzureStoreStrategy(id: string): StrategyFactory<AzureAuthOpti
isB2C: strategyOptions.store.isB2C ?? false,
issuer: strategyOptions.store.issuer,
passReqToCallback: true,
scope: strategyOptions.store.scope,
} as IOIDCStrategyOptionWithRequest);
}

Expand Down

0 comments on commit b4c3359

Please sign in to comment.