joeaudette / cloudscribe.StarterKits

Deprecated - see below
Apache License 2.0
53 stars 21 forks source link

cloudscribe-core-ef and Authorize attribute #19

Closed semsitivity closed 7 years ago

semsitivity commented 7 years ago

Hi, Starting from the cloudscribe-core-ef sample, I try to use the [Authorize] attribute on a controller. Unfortunatelly, I receive an Exception: System.InvalidOperationException: No authentication handler is configured to handle the scheme: Automatic Is this relative to the multiTenant feature?

joeaudette commented 7 years ago

not enough information provided to reproduce the issue. Note that the ManageController in cloudscribe core has [Authorize] and it works fine when I login and click the username in the top nav which links to it. Also I tried adding [Authorize] on the Contact method of the HomeController in the starter kit cloudscribe-core-ef and it works fine.

joeaudette commented 7 years ago

closing this, if you provide information to produce the problem I can re-open it