Authentication with roles in razor pages

Imefungwa Ilichapishwa Miaka 5 iliyopita Kulipwa wakati wa kujifungua
Imefungwa Kulipwa wakati wa kujifungua

I want to use [Authorize(Roles="xx"] and [login to view URL] but not working unless I use claims with cookies and signinasync. If I use PasswordSigninAsync I cannot use Authorize with roles.

[Authorize] without parameters is working. How can I achieve this with Psswordsinginasync

.NET ASP.NET Kuprogramu ukitumia C#

Kitambulisho cha Mradi: #17725713

Kuhusu mradi

8 mapendekezo Mradi wa mbali Ipo mtandaoni %project.latestActivity_relativeTime|badilisha%

8 wafanyakazi huru wanazabuni wastani wa $31 kwa kazi hii

papon13

This is simple thing. I could help you to solve the issue. I am very expert on ASP.NET Identity.

$30 USD kwa siku 1
(Maoni 171)
6.8
IjazSe

Dear Sir/Madam, Hope you are doing great!. I have 3+Years of experience in Asp.Net MVC working with Role based Authentication and Authorization. Being an expert,I can surely assist you with my service in imple Zaidi

$40 USD kwa siku 1
(Maoni 58)
6.2
Proolancer

I m a web and desktop developer I can do what you want. just contact me to discuss more about the project. best regards

$37 USD kwa siku 3
(Maoni 53)
6.0
aviwalimbe

hello i have 4 years of experience in mvc , you have to implement role based authorisation but without saving it in cookie ?

$27 USD kwa siku 1
(Maoni 7)
4.1
celilhn

Hi , am celilhan kadıoğlu. I am a computer engineer student. I usully work on this type projects. So i can do it this project smoothly. You can thrust me. I will finish it in two days. Have a nice day.

$25 USD kwa siku 2
(Maoni 0)
0.0
SabirHossain94

I can do it for you just in time and right way, it's a simple task, we can talk if you like. Thank you.

$25 USD kwa siku 1
(Maoni 0)
0.0