Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error SignUp Role not found #5

Open
hendisantika opened this issue Apr 3, 2024 · 0 comments
Open

Error SignUp Role not found #5

hendisantika opened this issue Apr 3, 2024 · 0 comments

Comments

@hendisantika
Copy link

hendisantika commented Apr 3, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant