With Springboot latest version (3.2.0), how I can assign the user's authorization

I created a springboot (3.2.0) project to demo the user login via Auth0, everything works, user can login to the system, can display the protected page.
But I having issue to assign user role (Authorization), I can assign customized claims to login user, but what’s the most professional way to assign those roles to the user, then I can use Springboot security feature to protect different web page from different role?

Thanks in advance.

Got solution.


I’m glad to hear you figured it out, John! Please let us know if you have additional questions about Auth0 and Spring Boot.

1 Like