[已解决]在Android B2C应用程序中注册用户时出现意外响应代码401

2020-09-16 01:04发布

点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)我正在使用Android B2C...

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


我正在使用Android B2C应用程序。 每当我尝试登录或注册新用户时,都会出现以下错误。

07-18 00:09:32.656 13152-13168/com.hybris.mobile.app.commerce.b2c.dev E/Volley:[2226] BasicNetwork.performRequest: https://192.168.13.15:9002/authorizationserver/oauth/token

07-18 00:09:33.063 13152-13168/com.hybris.mobile.app.commerce.b2c.dev E/Volley:[2226] BasicNetwork.performRequest: https://192.168.13.15:9002/authorizationserver/oauth/token

07-18 00:09:33.064 13152-13218/com.hybris.mobile.app.commerce.b2c.dev E/com.hybris.mobile.lib.http.manager.volley.VolleyPersistenceManager:Volley错误 请求37ce0f0d-2a5f-45a2-9da5-f66701aa4eed:{"错误":" invalid_client","错误描述":"错误的客户端凭据"}

有人可以帮我吗?

4条回答
奄奄一息的小鱼
2020-09-16 02:02 .采纳回答

弄清楚如何解决该问题,只需添加以下符号即可

INSERT_UPDATE OAuthClientDetails; clientId [unique = true]; resourceIds;范围; authorizedGrantTypes; authorities; clientSecret; registeredRedirectUri;客户端; hybris;基本;隐式,client_credentials; ROLE_CLIENT;秘密; http://localhost:9001/authorizationserver/oauth2_implicit_callback; ; mobile_android; hybris; basic; authorization_code,refresh_token,password,client_credentials; ROLE_CLIENT; secret; http://localhost:9001/authorizationserver/oauth2_callback;

INSERT_UPDATE OAuthClientDetails; clientId [unique = true]; resourceIds;范围; authorizedGrantTypes; authorities; clientSecret; registeredRedirectUri; trusted_client; hybris;扩展; authorization_code,refresh_token,password,client_credentials; ROLE_TRUSTED_CLIENTsecret; ;

一周热门 更多>