I’m making a platform with Auth0 + Vue + Spring Boot, and I have two types of user: Clients and Providers. I’m using the Auth0 part of this guide: auth0.com/blog/implementing-jwt-authentication-on-spring-boot
I want the providers to upload their products so the clients can buy them. To achieve that I need some questions:
- Where should I manage the user sign-up? Vue.js or Spring Boot side?
- Should I save the registered user in my database?
- How can I link a product to a provider?
- How can I get the user information in Spring Boot?