File tree Expand file tree Collapse file tree 3 files changed +24
-0
lines changed
pwa-kit-create-app/assets
templates/@salesforce/retail-react-app/config
template-retail-react-app/config Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,16 @@ module.exports = {
9393 callbackURI: process.env.RESET_PASSWORD_CALLBACK_URI || '/reset-password-callback',
9494 // The landing path for reset password
9595 landingPath: '/reset-password-landing'
96+ },
97+ passkey: {
98+ // Enables or disables passkey login for the site. Defaults to: false
99+ {{ #if answers.project.demo.enableDemoSettings }}
100+ enabled: true,
101+ {{ else }}
102+ enabled: false,
103+ {{ /if }}
104+ // The callback URI must be an absolute URL (i.e. third-party URI) set up by the developer.
105+ callbackURI: process.env.PASSKEY_CALLBACK_URI
96106 }
97107 },
98108 // The default site for your app. This value will be used when a siteRef could not be determined from the url
Original file line number Diff line number Diff line change @@ -93,6 +93,16 @@ module.exports = {
9393 callbackURI: process.env.RESET_PASSWORD_CALLBACK_URI || '/reset-password-callback',
9494 // The landing path for reset password
9595 landingPath: '/reset-password-landing'
96+ },
97+ passkey: {
98+ // Enables or disables passkey login for the site. Defaults to: false
99+ {{ #if answers.project.demo.enableDemoSettings }}
100+ enabled: true,
101+ {{ else }}
102+ enabled: false,
103+ {{ /if }}
104+ // The callback URI must be an absolute URL (i.e. third-party URI) set up by the developer.
105+ callbackURI: process.env.PASSKEY_CALLBACK_URI
96106 }
97107 },
98108 // The default site for your app. This value will be used when a siteRef could not be determined from the url
Original file line number Diff line number Diff line change @@ -44,6 +44,10 @@ module.exports = {
4444 resetPassword : {
4545 callbackURI : process . env . RESET_PASSWORD_CALLBACK_URI || '/reset-password-callback' ,
4646 landingPath : '/reset-password-landing'
47+ } ,
48+ passkey : {
49+ enabled : false ,
50+ callbackURI : process . env . PASSKEY_CALLBACK_URI
4751 }
4852 } ,
4953 defaultSite : 'RefArchGlobal' ,
You can’t perform that action at this time.
0 commit comments