Open
Description
I already added role to mongoDB. But still Role not found.
docker exec -it mongodb mongosh
db.roles.insertMany([
{ name: "ROLE_USER" },
{ name: "ROLE_MODERATOR" },
{ name: "ROLE_ADMIN" },
])
Then my body request like this:
{
"username": "naruto",
"email": "naruto@yopmail.com",
"roles": [
"user", "mod"
],
"password": "Naruto2024!"
}
Any suggestion?
Thanks
Metadata
Metadata
Assignees
Labels
No labels