Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,15 @@ module.exports = {
callbackURI: process.env.RESET_PASSWORD_CALLBACK_URI || '/reset-password-callback',
// The landing path for reset password
landingPath: '/reset-password-landing'
},
passkey: {
// Enables or disables passkey login for the site. Defaults to: false
{{#if answers.project.demo.enableDemoSettings}}
enabled: true,
{{else}}
enabled: false,
{{/if}}
callbackURI: process.env.PASSKEY_CALLBACK_URI,
}
},
// The default site for your app. This value will be used when a siteRef could not be determined from the url
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,15 @@ module.exports = {
callbackURI: process.env.RESET_PASSWORD_CALLBACK_URI || '/reset-password-callback',
// The landing path for reset password
landingPath: '/reset-password-landing'
},
passkey: {
// Enables or disables passkey login for the site. Defaults to: false
{{#if answers.project.demo.enableDemoSettings}}
enabled: true,
{{else}}
enabled: false,
{{/if}}
callbackURI: process.env.PASSKEY_CALLBACK_URI,
}
},
// The default site for your app. This value will be used when a siteRef could not be determined from the url
Expand Down
4 changes: 4 additions & 0 deletions packages/template-retail-react-app/config/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ module.exports = {
resetPassword: {
callbackURI: process.env.RESET_PASSWORD_CALLBACK_URI || '/reset-password-callback',
landingPath: '/reset-password-landing'
},
passkey: {
enabled: false,
callbackURI: process.env.PASSKEY_CALLBACK_URI,
}
},
defaultSite: 'RefArchGlobal',
Expand Down
Loading