OIDCRedirectURI setting with relative URL fails with syntax error on RHEL 7

Solution Verified - Updated -


  • If we set OIDCRedirectURI to a relative URI:
OIDCRedirectURI /test.html

*httpd fails to start with a syntax error:

AH00526: Syntax error on line 4 of auth_openidc.conf:
oidc_set_url_slot_type: configuration value '/test.html' could not be parsed as a URL (no scheme set)!


  • Red Hat Enterprise Linux (RHEL) 7.x
    • Apache httpd 2.4.6
    • mod_auth_openidc-1.8.8

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