Why am I getting "Non-secure context detected; cookies are not secured, and will not be available in cross-origin POST requests" WARN message?

Solution Unverified - Updated -

Issue

  • Following WARN message is issued from my RHBK server. Why am I getting it?
2024-12-10 15:33:37,523 WARN  [org.keycloak.cookie.DefaultCookieProvider] (executor-thread-2) Non-secure context detected; cookies are not secured, and will not be available in cross-origin POST requests

Environment

  • Red Hat Build of Keycloak
    • 26.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content