简体   繁体   English

WSO2is 使用带有访问令牌的 SOAP 服务

[英]WSO2is Use SOAP services with Access Token

It's possible to use an access token generated from /oauth2/ endpoint and use in SOAP calls?是否可以使用从/oauth2/端点生成的访问令牌并在 SOAP 调用中使用?

For now, I use the admin user for the tenant domain for creating and get users, but I think it is better to use the access token for a logged user based in permissions to create new users.目前,我使用租户域的管理员用户来创建和获取用户,但我认为最好使用基于权限的登录用户的访问令牌来创建新用户。

I already try to add a header in SOAP call as follows: Authorization: Bearer <access-toke> , but Authentication failure display message.我已经尝试在 SOAP 调用中添加 header,如下所示: Authorization: Bearer <access-toke> ,但Authentication failure显示消息。 I try to change the url https://identity.com/t/mydomain/services/RemoteUserStoreManagerService.RemoteUserStoreManagerServiceHttpsSoap12Endpoint/我尝试更改 url https://identity.com/t/mydomain/services/RemoteUserStoreManagerService.RemoteUserStoreManagerServiceHttpsSoap12Endpoint/

SOAP APIs in WSO2 Identity Server cannot be authenticated with Bearer tokens. WSO2 Identity Server 中的 SOAP API 无法使用 Bearer 令牌进行身份验证。 They can be authenticated with Basic authentication and cookies.它们可以通过基本身份验证和 cookies 进行身份验证。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM