We are building an SPA where there are multiple cards(UI) and each card on click is a different route. Now the each route needs to be protected by okta but each route has a specific set of users, so we created a dedicated client id(Application in OKTA) for each route. Now we are stuck and facing following issues.
i. Security component in react okta package allows only one set of okta credentials.
ii.When the user clicks the cards, we want different redirect URIs for each card but we have only one implicit callback.
I am sure we are not using a right design patter. Any help will be highly appreciated.