Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "leonardocooper"

Worked like a charm. Thank you

I added a small change to call the base method in case it dont find the header.

`protected override string GetClientIpAddress() { try { var httpContext = _httpContextAccessor.HttpContext;

    if (httpContext?.Request?.Headers?.ContainsKey("CF-Connecting-IP") ?? false)
    {
        return httpContext.Request.Headers["CF-Connecting-IP"];
    }

}
catch (Exception ex)
{
    Logger.Warn(ex.ToString());
}

return base.GetClientIpAddress();

}`

Hi,

I've inserted a new line into AbpUserLogins with the correct providerKey which I've got from the frontend login attempt and is working now.

Thanks.

Showing 1 to 2 of 2 entries