--- c.s.s.s.s.s.SAMLUserDetailsServiceImpl : Login received for user xyz@xyzs.com
--- o.s.security.saml.log.SAMLDefaultLogger : AuthNResponse;SUCCESS;127.0.0.1;http://localhost:8080/saml/metadata;http://www.okta.com/1234;xyz@xyzs.com;;
--- o.s.s.s.context.SAMLContextProviderImpl : No IDP specified, using default http://www.okta.com/1234
--- o.s.security.saml.SAMLEntryPoint : Using discovery URL from extended metadata
--- o.s.security.saml.SAMLEntryPoint : Redirecting to discovery URL http://localhost:8080/saml/discovery?entityID=http%3A%2F%2Flocalhost:8080%2Fsaml%2Fmetadata&returnIDParam=idp
I am using sample 1.12 version app with that I am generating REST based API selection for IDP selection by selecting that it is generate following url http://localhost:8080/saml/login?idp=http://www.okta.com/1234 so I am skipping discovery part. Once I got the response it was successful in the logs. I have configured successHandler to "/home", but it is not getting redirect to . /home insted of that it redirects to http://localhost:8080/saml/discovery?entityID=http%3A%2F%2Flocalhost:8080%2Fsaml%2Fmetadata&returnIDParam=idp.
below logs can be helpful.