<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z000077fpynCAAOkta Classic EngineAuthenticationAnswered2021-08-21T13:49:43.000Z2021-08-17T21:57:20.000Z2021-08-21T13:49:43.000Z

RyanN.05618 (Customer) asked a question.

Limit SPA page access based on user group

Forgive me if this has been asked already but i cannot seem to find what im looking for.

 

I have created a React SPA that contains different pages; Home, Profile and Admin.

I've implemented a secure route to Profile and Admin, where everyone is able to access the profile page where it pulls the current user Info and displays it.

What i'm trying to do is block access to the admin page unless they're assigned as admins in the directory. So once authenticated, if they click on the Admin page they'll see some sort of access denied message if they're not admins, and if they are then they'll see a welcome admin message.

 

What do i need to do on OKTAS side to achieve this ? any documentation or help is greatly appreciated.

 

Thank you


This question is closed.
Loading
Limit SPA page access based on user group