Skip to content

Commit

Permalink
Azure setup auth: Install and import all needed packages (#6736)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobbe committed Oct 27, 2022
1 parent c7cb9d9 commit 810f1fe
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ export const handler = async ({ rwVersion, force: forceArg }: Args) => {
rwVersion,
forceArg,
provider: 'azureActiveDirectory',
webPackages: ['@azure/msal-browser'],
authDecoderImport:
"import { azureActiveDirectoryAuthDecoder as authDecoder } from '@redwoodjs/auth-providers-api'",
apiPackages: ['@redwoodjs/auth-providers-api'],
webPackages: ['@redwoodjs/auth-providers-web', '@azure/msal-browser'],
notes: [
'You will need to create several environment variables with your Azure',
'AD config options. Check out web/src/App.{js,tsx} for the variables',
Expand Down

0 comments on commit 810f1fe

Please sign in to comment.