erichosick
06/27/2023, 5:13 PMimport Passwordless from 'supertokens-node/recipe/passwordless';
import Session from 'supertokens-node/recipe/session';
// eslint-disable-next-line import/prefer-default-export, arrow-body-style
const getBackendConfig = () => {
return {
...,
Passwordless.init({
flowType: 'USER_INPUT_CODE',
contactMethod: 'EMAIL_OR_PHONE',
whatCouldWeAddHere: ?????
}),
...,
};
};
export default getBackendConfig;
rp_st
06/27/2023, 5:58 PMerichosick
06/27/2023, 5:58 PMrp_st
06/27/2023, 5:58 PMrp_st
06/27/2023, 5:59 PMerichosick
06/27/2023, 5:59 PMrp_st
06/27/2023, 6:01 PMerichosick
06/27/2023, 6:01 PMrp_st
06/27/2023, 6:01 PMerichosick
06/27/2023, 6:02 PMrp_st
06/27/2023, 6:02 PMerichosick
06/27/2023, 6:02 PMerichosick
06/27/2023, 6:02 PM