Add a role to user during sign up flow, using WeWeb authentication

Hi there.

I’m using WeWeb Auth for the authentication.
From the “Users” tab, I can add a role to a user.
But I want to add a role to a new user from the Workflow in the editor, so that the new user can select a role by themselves when signing up.

Is there a way to accomplish this?
Thanks in advance.

I think its not possible as it would mean allowing any user to set their own role and it would not be safe anymore. WeWeb auth was designed to help implement basic user authentication quickly. If you need more flexibility, we recommend you look into specialized auth service providers like Auth0 or backend tools like Xano or Supabase :slight_smile:

You may still fill a feature request on feedback.weweb.io

1 Like

I see, yes that does make sense.
Thank you for the reply :slight_smile:
I’ll think about using Supabase.

How did u solve it?