简体   繁体   English

基于 ASP.NET Core 角色的授权有问题

[英]Having trouble with ASP.NET Core role based authorisation

Role based authorisation isn't working in ASP.NET Core app.基于角色的授权在 ASP.NET Core 应用程序中不起作用。 Any ideas?有任何想法吗?

Have you tried using HTTPS?您是否尝试过使用 HTTPS? If it is turned off from the Project properties, try to enable it and then try again.如果它已从项目属性中关闭,请尝试启用它,然后重试。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 ASP.NET Core 6 MVC:如何配置基于人员部门/角色的身份验证和授权 - ASP.NET Core 6 MVC : how to configure authentication and authorisation based on person department/role 如何创建使用角色名称实现的基于声明的授权系统? ASP.NET 核心 2.1 - How to create a claim based authorisation system implemented using role names? ASP.NET Core 2.1 ASP.NET Core 2.1:Razor Pages - 基于角色的授权不起作用 - ASP.NET Core 2.1: Razor Pages - role based authorisation not working Asp.Net Core 6 基于角色的导航 - Asp.Net Core 6 Role based Navigation 基于用户的授权不起作用ASP.net - User based authorisation not working ASP.net 将 ASP.NET 角色授权与 IdentityServer3 隐式流结合使用 - Using ASP.NET Role Authorisation with IdentityServer3 implicit flow 具有自定义登录页面和数据库的ASP.NET MVC角色授权 - ASP.NET MVC Role authorisation with custom login page and database ASP.NET 内核 Web API:异步任务有问题? - ASP.NET Core Web API: having trouble with async task? UseInMemoryDatabase ASP.NET Core 3.1 出现问题 - Having trouble with UseInMemoryDatabase ASP.NET Core 3.1 在 asp.net 核心 5 应用程序中发送邮件时遇到问题 - having trouble sending mail in asp.net core 5 App
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM