Replies: 1 comment 3 replies
-
you'll need to set |
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.
-
mod_auth_openidc version 2.4.10
Apache 2.4.51
Authorization is working properly. I'm able to forward users over to the single sign on provider, and receive authorization back. When coming back to /auth (the redirect uri) I'm seeing a 302 forwarding the user back to the vanity url that I'm using, but its adding the port that the service is running on. Is there a way to remove that port being added to the redirect?
There is a reverse proxy that is forwarding the vanity url to https://localhost:4443.
OIDCRedirectURI
https://<vanity>/auth
Where its going:
https://<vanity>:4443
Here is what I'm seeing in the logs:
[auth_openidc:debug] [pid 16546:tid 140094686082816] src/mod_auth_openidc.c(694): oidc_restore_proto_state: restored state: {"ou":"https://<vanity>:4443/","om":"get","i":"https://<sso_provider>:8443/nidp/oauth/nam","rt":"code id_token token","n":"Vtf5IbH9E29smrxdW6SmfRQlVasGYOEtZ7JL_mI_lPQ","t":1639152445,"s":"vr0Ubcd5URogc2_tvqqm3FCKCWA"}, referer: https://<vanity>/auth
[auth_openidc:debug] [pid 16546:tid 140094686082816] src/mod_auth_openidc.c(2039): oidc_handle_authorization_response: session created and stored, returning to original URL: https://<vanity>:4443/, original method: get, referer: https://<vanity>/auth
[auth_openidc:debug] [pid 16546:tid 140094686082816] src/util.c(2566): oidc_util_hdr_table_set: Location: https://<vanity>:4443/, referer: https://<vanity>/auth
Beta Was this translation helpful? Give feedback.
All reactions