Replies: 1 comment 3 replies
-
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am continue my journey with mod_auth_openidc since I strongly believe in its capabilities. However my new current setup is a bit complex and I do not manage to make it work.
I have a load balancer that terminates all 443 traffic and redirects everythin to port 80 on my EC2 instance. That instance has an httpd service that acts as a reverse proxy that directs all the requests from my client to backend. See my part of my config below:
The problem I am encountering is that my apache is claiming the following :
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!, 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!,
My configuration is the following:
I assume that since the apache is listening only on port 80 ( remind that load balancer only redirects all traffic to port 80) the redirect can not be implemented.
Is there a way I could change the redirectUri to make this scenario work ?
Beta Was this translation helpful? Give feedback.
All reactions