Auth0 Home Blog Docs

Authorization - ASP.NET website


#1

Hello,

We have ASP.NET web forms application. We are using Universal login with custom UI. After invoking the “Authorize” endpoint. (https://auth0.com/docs/api/authentication?javascript#database-ad-ldap-passive-) to login the user.

We would like to authorize/protect only some pages in our website. User should be asked to Login only when requesting these pages. How to check for “access_token” or authorization cookie only on these pages? Other pages in the website do not need login/authorization.

Please advice.