Okta Redirection based on attribute then access SubPage

I have a successfully authenticated and got redirected to my role let's say Admin page, in my Okta it is called http://test.com/myAdmin

I have other redirects depending on the users roles; however, that those work as well and their URI are:

http://test.com/myOtherRole1

http://test.com/myOtherRole2

I am perplexed because when I go to access let's say from my Django routes from urls.py:

url_patterns=[
...,
path("myAdmin/", views.Adminrole, name="Admin_Home"),
path("myAdmin/mainpanel", views.mainpanel, name="view"),
]

I cannot do so after Okta sign-in and landing on http://test.com/myAdmin.

So the next page I should be able to access is: http://test.com/myAdmin/mainpanel

I am expecting to access each subdomain in each route in urls.py. Does that mean I have to include them in Okta Redirect URI? Because I keep getting an error 403 when I try to advance to other pages.

Вернуться на верх