Operation of OIDCRedirectURI #1011
patbaie974
started this conversation in
General
Replies: 0 comments
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 all,
I'm not sur to well understand the operation of OIDCRedirectURI.
I understant that this URL must to be declare to the OIDC PROVIDER but I don't understand how it works after when the browser call this URL.
Here my need
My first call is http://myapp.rec.fr:4180/csrt, and I want that this call be secure by oauth2.
After authentication, I want that the upstream call the url https://myapp.ocp.fr/csrt
So, to do this what I have to put in the
Here one example but I doesn't work
OIDCSSLValidateServer Off
OIDCClientID "xx"
OIDCClientSecret "xx"
OIDCScope "openid email profile"
OIDCRedirectURI "http://myapp.rec.fr:4180/csrt"
OIDCResponseType "code id_token token"
ProxyPass /csrt https://myapp.ocp.fr/csrt
ProxyPassReverse /csrt https://myapp.ocp.fr/csrt
<Location /csrt>
LogLevel debug
AuthType openid-connect
Require valid-user
If I change the OIDCRedirectURI with "http://myapp.rec.fr:4180/oauth2/callback"
and with
<Location /oauth2>
LogLevel debug
AuthType openid-connect
Require valid-user
it's working but I mut call the first URL with http://myapp.rec.fr:4180/oauth2/csrt and I want call the URL with http://myapp.rec.fr:4180/csrt.
Thanks a lot for your help
Beta Was this translation helpful? Give feedback.
All reactions