on ‎2019 Nov 05 1:10 AM
Hi,
Does the samlsinglesignon is been completely tested in 1905 package. I configured okta metadata.xml integration to the samlsinglesignon. the samlsinglesignon is not picking them sometimes and redirects to okta site and sometimes it dont. Is it realy been tested? Also i am getting 401 unauthorized error as well when it returns back from okta. The extension is buggy. please let us know the samlsinglesignon is ready for development in 1905 version?
Request clarification before answering.
Hi GomathiNayagam,
Is your issue resolved, I am also getting 401 error code after successful authentication from Okta and controllers comes to Redirectcontroller?
Thanks
Warsha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Warsha,
I am implementing SAML SSO in sap commerce Backoffice.
Once control comes back to SAP Commerce after successful authentication from IDP, I am getting below error in sap commerce :
"https://localhost:9002/samlsinglesignon/saml/SSO"
HTTP Status 401 – Unauthorized
console log:
INFO [hybrisHTTP38] [SAMLProtocolMessageXMLSignatureSecurityPolicyRule] SAML protocol message was not signed, skipping XML signature processing
No error in console logs.
Regards,
Siddharth
Also when i try to access samlsinglesignon/saml/sso it returns 500 with null pointer exception.
SEVERE: Servlet.service() for servlet [samlsinglesignon] in context with path [/samlsinglesignon] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause
java.lang.NullPointerException
at de.hybris.platform.samlsinglesignon.RedirectionControllerBase.redirect(RedirectionControllerBase.java:61)
at de.hybris.platform.samlsinglesignon.RedirectionController.redirect(RedirectionController.java:32)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.