Vue Assign custom roles on creation?

Hello! I am a bit confused about a thing or two here

Im trying to figure out how to assign one of my custom roles to user who sign up on my app.
So the first thing, am i using hooks or rules for this?

Second thing, how can i check for a users role in like, a console.log? Because i cant find this info on the browser console.

Im using a SPA application for this, but im using vue vite, not vue CLI for this.

Thanks in advance

Hey there @kaptenkeps welcome to the community!

The current recommended approach is to use an Action as outlined in this FAQ.

Where exactly are you looking to check for roles? These are typically added to ID/Access tokens and leveraged that way.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.