api-management-developer-portal icon indicating copy to clipboard operation
api-management-developer-portal copied to clipboard

Protected page with USer group shows page doesnt exists error

Open Aiswaryabalu101090 opened this issue 1 year ago • 1 comments

Bug description

We have Dev portal hosted on top of Internal API management instance, we wanted to protect all the pages from anonymous access. So, in page settings for all the pages, under testing its kept to be accessible by developer's user group.

Now when I load the home page it says, "Page you are looking for doesn't exists".

image

Reproduction steps

  1. Go to pages in admin
  2. click on settings and make home page accessible only to certain group
  3. Publish the portal
  4. Try to navigate to home page in normal mode

Expected behavior

Page should be throwing User not authorized to view this page

Is self-hosted portal?

Yes

[!WARNING] "Managed developer portal issues" will be closed automatically. See above for more details.

Release tag or commit SHA (if using self-hosted version)

[e.g., release 2.0.0, commit c45da9778b70d369aba60fa2e63c191efe2b548f]

API Management service name

azusam1lwv787

Environment

UAT

Aiswaryabalu101090 avatar Jul 23 '24 14:07 Aiswaryabalu101090

Hello @Aiswaryabalu101090

Did you try to use existing functionality to redirect anonymous users to signin page? You can set it in Azure portal -> Developer portal -> Identities -> Settings image

ygrik avatar Sep 23 '24 19:09 ygrik