Symptom
Try to login to Smartedit with Single Sign On(SSO), the login failed with the below exception in the Backend/kibana:
INFO [hybrisHTTP28] [AbstractRestHandlerExceptionResolver] Translating exception [org. spring framework.web.HttpRequestMethodNotSupportedException]: Request method 'POST' not supported
INFO [hybrisHTTP36] [AbstractRestHandlerExceptionResolver] Translating exception [org.springframework.security.oauth2.provider.NoSuchClientException]: Unknown client smartedit
ERROR [hybrisHTTP36] [AbstractRestHandlerExceptionResolver] org.springframework.security.oauth2.provider.NoSuchClientException: Unknown client smartedit
at de.hybris.platform.webservicescommons.oauth2.client.impl.DefaultClientDetailsService.loadClient(DefaultClientDetailsService.java:51)
at de.hybris.platform.webservicescommons.oauth2.client.impl.DefaultClientDetailsService.loadClientByClientId(DefaultClientDetailsService.java:34)
at de.hybris.platform.webservicescommons.oauth2.client.impl.OpenIDClientDetailsService.loadClientByClientId(OpenIDClientDetailsService.java:21)
at de.hybris.smartedit.facade.impl.DefaultSSOAuthenticationFacade.generateOAuthTokenForUser(DefaultSSOAuthenticationFacade.java:41)
at de.hybris.smartedit.controllers.SSOAuthenticationController.generateOAuthTokenFromSSO(SSOAuthenticationController.java:57)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
...... |
** Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.**
Read more...
Environment
- SAP Commerce
- SAP Commerce Cloud
Product
SAP Commerce Cloud all versions ; SAP Commerce all versions
Keywords
Smartedit, SSO, Single Sign On, client, OAuth Clients, Impex, Backoffice, OAuthClientDetailsModel, OAuthClientDetails , KBA , CEC-SCC-COM-SEDIT , SmartEdit , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.