Spring Boot , Access control list

Hi ,
I am using Single page application , with spring boot ,
I have completed Authentication implementation using okta ( SPA application )

But I want to manage there Role and access list in application instead of Okta . Please guide me on this

Hey @ashu8006kumar!

Take a look at this blog post: https://developer.okta.com/blog/2019/05/13/angular-8-spring-boot-2
Iā€™m not sure what your frontend framework is, but the backend likely looks the same as this example. Also, in OAuth terms your backend Spring Boot app is referred to as a Resource Server (If that helps navigate your future search results)

Let us know how it goes!
-Brian

Hi @bdemers ,
I am following the same, so login is fine for me (It is working ) after Longin I want to add role-based access in my project (means I want to manage all role and their access list on my server not on okta).
So let me summarised,
One your logged in to my application (this part is done ), I want to show data as per role (Roles which are defined in the application

If you just want to tie a token to a user, you can read the uid (user id) claim and map that to data in your application. Are you just looking for an identifier for the user?

Yes @bdemers , Some thing like that

1 Like