Good Morning
we have customized accessdenied form.how to force user to sign in as different user.it works for Site collection level but not deeper level for example
this won't work
https://site/_layouts/15/accessdenied_custom.aspx?loginasanotheruser=true&source=https://site/sites/test1/folder1/folder2T&Type=item&name=c18e37d0-0000-4e3f-b899-299f36e9aff9&listItemId=4
This will work
https://site/_layouts/15/accessdenied_custom.aspx?loginasanotheruser=true&source=https://site/sites/test1
appreciate your help.