non SSL page on a SSL enabled website API credentials popup

Description

When you have a website that is SSL enforce and you visit a page that does not have SSL enabled you get a popup asking for credentials for the API

Maybe I have something misconfigured in my web.config?

I get the following error in the event viewer refering to an anti-forgery cookie.

Check
05/11/2018 14:20:57
General Exception

AbsoluteURL /API/personaBar/UserSettings/UpdateUserSettings DefaultDataPro

AbsoluteURL:/API/personaBar/UserSettings/UpdateUserSettings

DefaultDataProviderotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:83935b37-2788-4029-9e90-3fff1d7f3a8f

AssemblyVersion:

PortalId:-1

UserId:-1

TabId:-1

RawUrl:

Referrer:

UserAgent:

ExceptionHash:3zB25QVJF0XM4FJ9F6a4yKlFI10=

Message:The required anti-forgery cookie "__RequestVerificationToken" is not present.

StackTrace:

at DotNetNuke.Web.Api.ValidateAntiForgeryTokenAttribute.OnActionExecuting(HttpActionContext actionContext) at System.Web.Http.Filters.ActionFilterAttribute.OnActionExecutingAsync(HttpActionContext actionContext, CancellationToken cancellationToken) — End of stack trace from previous location where exception was thrown — at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Tracing.Tracers.ActionFilterAttributeTracer.<>c_DisplayClassd.<ba>df.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Tracing.ITraceWriterExtensions.d24.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Filters.ActionFilterAttribute.d0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ActionFilterResult.d2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Filters.AuthorizationFilterAttribute.d2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ExceptionFilterResult.d_0.MoveNext()

InnerMessage:

InnerStackTrace:

SourceotNetNuke.Web

FileName:

FileLineNumber:0

FileColumnNumber:0

Method:

QA Test Plan

None

Assignee

Unassigned

Reporter

Cody

Story Size

Unknown

Severity

Major

Triage

New

Reported in Build #

None

Fixed in Build

None

Dev Owner

None

Includes Code Fix

No

Documentation Required

None

Trouble Ticket

None

Requires More Info

None

QA Story Points

None

QA Owner

None

Injected

None

Automation Required

None

Code Review Owner

None

Components

Affects versions

Priority

Low
Configure