Logo-amall
discord (1)
#Howtomodifyuserallowedrolesinselfhostedinstance (1)
  • Hello there, Another problem here... I would like to sign up user from React front end, and I would like to give him a role like "editor", when I run function: ``` signUpEmailPassword(email, password, { defaultRole: "editor", allowedRoles: ["editor", "me", "user"], }); ``` Even after adding the "editor" role to auth.roles table and adding ENV variable to auth service in docker-compose ``` ALLOWED_USER_ROLES: "editor, user, me" ``` I get response ``` "options.defaultRole" must be one of [me, user] ``` How can I change it? Thanks a lot

    Last active 2 months ago

    10 replies

    11 views

    OS
    EL
    +8