0

Please or Register to create posts and topics.

.Net Core 2.1 build. Authorization no longer working correctly?

Hi,

I have pulled down the latest build (.Net core 2.1 Angular 6 etc). The Customer controller will return data at address /api/customer (list of customers from the database, as per seed data). However, adding [Authorize] filter results in a redirect to "/account/login?returnUrl=%2Fapi%2Fcustomer" (I am already logged in!). No data is returned (obviously) and routing appears to be break (none of the menu items work).

The earlier release (.Net core 2.0 Angular 5) worked fine.

Since I am just adding the [Authorize] filter to the demo code, I don't think I am doing anything wrong here.

Is there active support for this template ? I see very little activity from Eben?

Thanks!

Урмат Эркимбаев has reacted to this post.
Урмат Эркимбаев

Hi,

Can you please share some code for me to go through and debug this issue?

 

 

thanks.