After forward debuging it's seems to me that oAuth server support in cas4.2
cannot handle url GET data.
All is done to catch the POST parameters in autorize route.
But documentation (both cas and oAuth) tell to use GET parameters for
authorization.


2017-02-25 22:19 GMT+01:00 Emmanuel Cervetti <emmanuel.cerve...@gmail.com>:

> Hello
> Tomcat prevent using encoded slashes in url. It was a blank page when try
> to use the oAuth server:
>
> https://globalsso.orupaca.fr:8443/oauth2.0/authorize&;
> response_type=code&client_id=leclient&redirect_uri=http%3A%
> 2F%2F10.211.55.3
> =>blank page
>
> So I set the tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true , the only
> answer I could find for such a problem.
>
> Then the issue is different.
> https://globalsso.orupaca.fr:8443/oauth2.0/authorize&;
> response_type=code&client_id=leclient&redirect_uri=http%3A%
> 2F%2F10.211.55.3
> =>Redirection to the cas login page (without the oAuth context pararmeters)
>
> I've set a breakpoint in OAuth20WrapperController to see if it was a CAS
> installation problem, and I have the folowing behaviour :
>
> https://globalsso.orupaca.fr:8443/oauth2.0/authorize&;
> response_type=code&client_id=leclient&redirect_uri=http%3A%
> 2F%2F10.211.55.3
> =>no breakpoint stops, it go straight forward the cas home page
>
> https://globalsso.orupaca.fr:8443/oauth2.0/authorize&;
> response_type=code&client_id=leclient&redirect_uri=*hereAUnselessString*
> =>breakpoint stops in OAuth20WrapperController, so it seems ok
>
> What could I do to the oAuth client request be handled by cas server ?
>
> My tomcat is 8.5.11
> Thank you very much for your answer
>
> --
> - CAS gitter chatroom: https://gitter.im/apereo/cas
> - CAS mailing list guidelines: https://apereo.github.io/cas/
> Mailing-Lists.html
> - CAS documentation website: https://apereo.github.io/cas
> - CAS project website: https://github.com/apereo/cas
> ---
> You received this message because you are subscribed to the Google Groups
> "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cas-user+unsubscr...@apereo.org.
> To view this discussion on the web visit https://groups.google.com/a/
> apereo.org/d/msgid/cas-user/93143320-debe-4892-bbe4-
> e3b9cc0f69fa%40apereo.org
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/93143320-debe-4892-bbe4-e3b9cc0f69fa%40apereo.org?utm_medium=email&utm_source=footer>
> .
>

-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CA%2BnfJqOM8QR7LhP67KHSioLwGPSVADNbh-8CcGwf04QFbUNy_Q%40mail.gmail.com.

Reply via email to