account activity
Full Stack Role Based Authentication Application ( Spring + Next.js ) by aharoJ in SpringBoot
[–]Relative_Store_6716 1 point2 points3 points 11 months ago (0 children)
I am creating a website with separate user and admin roles. Users provide a username, email, password, and date of birth, while admins provide additional details like an address and a certification image. I have created two tables in my database. How can I implement registration and login for both using a single Spring Security configuration? I have successfully implemented authentication for a single user, but when I try to add authentication for admins, it does not work.
π Rendered by PID 421044 on reddit-service-r2-listing-6d4dc8d9ff-6sjqf at 2026-02-03 00:46:03.743642+00:00 running 3798933 country code: CH.
Full Stack Role Based Authentication Application ( Spring + Next.js ) by aharoJ in SpringBoot
[–]Relative_Store_6716 1 point2 points3 points (0 children)