Protected page with USer group shows page doesnt exists error
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".
Reproduction steps
- Go to pages in admin
- click on settings and make home page accessible only to certain group
- Publish the portal
- 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
Environment
UAT
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