Hi all,
First sorry to post here, I have asked on slack but no one answered.
I need help in designing authentication and authorization mechanism in LB4
I have following entities:
1- Administrator (login with email and password)
2- Buyer (login with phone number only - verified by OTP)
3- Seller (login with phone number only - verified by OTP)
4- Support Assistant (login with phone and Password)
What would be the best way to do that? I cant create a single model for Users because every user entity has different relations with different models.