oidc_authenticate_user: the URL scheme (https) of the configured OIDCRedirectURI does not match the URL scheme of the URL being accessed (http)

Solution Unverified - Updated -

Issue

  • We have a proxy terminating ssl in front of httpd/mod_auth_openidc. This leads to errors like below:
[auth_openidc:error] [pid 2323623:tid 2323793] [client 127.0.0.1:62292] oidc_authenticate_user: the URL scheme (https) of the configured OIDCRedirectURI does not match the URL scheme of the URL being accessed (http): the "state" and "session" cookies will not be shared between the two!

Environment

  • Red Hat Enterprise Linux (RHEL)
  • Apache httpd
  • mod_auth_openidc

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