You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
CoreID/config/traps.config.js

26 lines
689 B

const traps_config = {
types: {
password_reset: {
redirect_to: '/password/reset',
assume_trust: true,
allowed_routes: [
'/password/reset',
'/api/v1/password/resets',
'/auth/logout',
],
},
mfa_challenge: {
redirect_to: '/auth/mfa/challenge',
allowed_routes: [
'/auth/mfa/recovery',
'/auth/mfa/challenge',
'/api/v1/auth/mfa/attempt',
'/auth/logout',
'/api/v1/auth/mfa/recovery/attempt',
],
},
},
}
module.exports = exports = traps_config