Create you first user
In this step we are going to register your first user
You can register from dashboard https://feathersjs-mongoose-casl-admin.herokuapp.com/ swagger http://localhost:3030/docs postman
Run your server
Create user
POST
http://localhost:3030/users
Request Body
password
string
password1234
string
MyEmail@gmail.com
Postman snippet
Response
verifiedRequired is true, you can't login to app yet, if you try to login the server will return error with message: "User's email is not yet verified."
You can try to login to dashboard:
Didn't receive any email?
Check the spam folder
If you are using mail service without a domain, you need to add you email at mailgun/sendgrid to the whitelist
if you use a free mailgun account then you need to verify the emails you want to email Please add your email where you'd like to sign in to your app https://app.mailgun.com/app/account/authorized 1- verify that you update a valid mailgun/sendgrid key in the config\default.json 2- verify that you update the feathers-mongoose-casl.mailer.service to 'sendgrid' or 'mailgun' in the config\default.json 3- verify that you update a vaild verifyEmail.fromEmail in config\default.json 4- you can see debug logs by updating logger level to 'debug at, src\logger.js
Want to resend the email?
Postman snippet
Last updated
Was this helpful?