A
A
arseniy882020-12-07 15:02:38
JSON Web Token
arseniy88, 2020-12-07 15:02:38

User registration (Different roles) laravel api?

Hello!
I use a bunch of ReactJs + Laravel (API) I

ran into a problem: I need to register a user for this, I use JWT, but different roles are needed. For example, user registration for the admin panel, and just a user on the site.

Tell me how to implement?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sanes, 2020-12-07
@Sanes

I am using laravel-permission . There are many other ways.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question