Hi everyone, we're currently implemnting a federated AWS login using CAS as an IDP via the SAML protocol. While everything is working so far, we need to redirect the user to the correct region via the Relay State.
Unfortunately the supplied redirect is lost along the way. The url we use to initiate the SSO: http://localhost:8080/idp/profile/SAML2/Unsolicited/SSO?providerId=urn:amazon:webservices&Target=https://console.aws.amazon.com/console/home?region=eu-west-1 And the relevant log entries: DEBUG [org.apereo.cas.support.saml.web.idp.profile.AbstractSamlProfileHandlerController] - <Created service url [http://localhost:8080/idp/profile/SAML2/Callback.+?entityId=urn%3Aamazon%3Awebservices&SAMLRequest=PD94bWwgdmVyc2lvbj0iMS4...]> DEBUG [org.apereo.cas.support.saml.web.idp.profile.AbstractSamlProfileHandlerController] - <Redirecting SAML authN request to [http://localhost:8080/login?service=http%3A%2F%2Flocalhost%3A8080%2Fidp%2Fprofile%2FSAML2%2FCallback.%2B%3FentityId%3Durn%253Aamazon%253Awebservices%26SAMLRequest%3DPD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c2FtbDJwOkF1dGhuUmVxdWVzdCB4bWxuczpzYW1sMnA9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDpwcm90b2NvbCIgQXNzZXJ0aW9uQ29uc3VtZXJTZXJ2aWNlVVJMPSJodHRwczovL3NpZ25pbi5hd3MuYW1hem9uLmNvbS9zYW1sIiBGb3JjZUF1dGhuPSJmYWxzZSIgSXNzdWVJbnN0YW50PSIyMDE4LTEwLTA5VDEzOjEyOjE0LjAyNFoiIFByb3RvY29sQmluZGluZz0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOmJpbmRpbmdzOkhUVFAtUE9TVCIgVmVyc2lvbj0iMi4wIj48c2FtbDI6SXNzdWVyIHhtbG5zOnNhbWwyPSJ1cm46b2FzaXM6bmFtZXM6dGM6U0FNTDoyLjA6YXNzZXJ0aW9uIj51cm46YW1hem9uOndlYnNlcnZpY2VzPC9zYW1sMjpJc3N1ZXI%252BPHNhbWwycDpOYW1lSURQb2xpY3kgQWxsb3dDcmVhdGU9InRydWUiLz48L3NhbWwycDpBdXRoblJlcXVlc3Q%252B%26RelayState]> DEBUG [org.apereo.cas.support.saml.web.idp.profile.builders.response.BaseSamlProfileSamlResponseBuilder] - <RelayState is []> I haven't been able to find thet problem so far, does anyone know what's going wrong? Thank you very much, Juna -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/aee13638-ddc5-4939-967a-40cdbc7fca4d%40apereo.org.
