Contents
How are portal users assigned to web roles?
Portal users must be assigned to web roles to gain permissions beyond unauthenticated users. To configure permissions for a web role, configure its webpage access and website access control rules. Portals allows portal users to sign in with their choice of an external account based on ASP.NET Identity.
How to require all users to be authenticated?
An alternative way for MVC controllers and Razor Pages to require all users be authenticated is adding an authorization filter: The preceding code uses an authorization filter, setting the fallback policy uses endpoint routing. Setting the fallback policy is the preferred way to require all users be authenticated.
Do you need a unique email address to authenticate on a portal?
Portal users must have a unique email address. If two or more contact records (including deactivated contact records) have the same email address, the contacts won’t be able to authenticate on the portal. The following table lists common identity providers for portals, the protocol that can be used with the provider, and the relevant documentation.
What does requireauthenticateduser do in ASP.NET?
RequireAuthenticatedUser adds DenyAnonymousAuthorizationRequirement to the current instance, which enforces that the current user is authenticated. The fallback authentication policy: Is applied to all requests that do not explicitly specify an authentication policy.
Share your portal with internal or external users. Follow the steps mentioned in the Share this portal pane. To share the portal with internal users, you must first create a security role and then assign users to the security role so they can use the portal.
Which is the common identity provider for portals?
The following table lists common identity providers for portals, the protocol that can be used with the provider, and the relevant documentation. Configuration information about common providers for protocols such as OpenID Connect and SAML 2.0 are given as examples.
What do I need to sign in to a portal?
Portals allows portal users to sign in with their choice of an external account based on ASP.NET Identity. Though not recommended, portals also allows a local contact membership provider-based account for users to sign in. Portal users must have a unique email address.