Okta integration in an app which has multiple app dependencies

Hello,
I am working on application which has 5 individual application dependencies included in the gradle. I have tried with single application OKTA sample application and it is working fine. But when I am using the same credentials or new application credentials in my actual application, it is always throwing me “no uri registered to handle redirect or multiple applications registered okta”. So my questions are:

  1. OKTA do not work in multiple app environment?
  2. If it works, then How can I use OKTA with my user credentials?