小编use*_*500的帖子

尝试检索 Oauth access_token 时出现 AADSTS50146 错误

正在寻找有关此错误的 AzureAD 帮助 -

"error": "invalid_request", "error_description": "AADSTS50146: 该应用程序需要配置应用程序特定的签名密钥。\r\n跟踪 ID: 6fb978c1-0d74-478c-991c-3ad48ca65f00\r\n相关 ID : 81c05804-175c-456b-8d45-d5365818b599\r\n时间戳: 2019-12-17 19:28:29Z",

我在一个 AzureAD 环境中收到上述错误。当尝试执行 OAuth2.0 令牌请求时。我有另一个测试 AzureAD,其中相同的请求工作正常。

使用 clientId、clientSecret 和 grant_type=client_credentials对https://login.microsoftonline.com/ {tenantId}/oauth2/v2.0/token进行 POST 。

通过谷歌找到了这个 - https://github.com/MicrosoftDocs/azure-docs/issues/5394,但想了解如何在 AzureAD 中配置“范围”参数。

client credentials oauth-2.0 azure-active-directory

7
推荐指数
2
解决办法
8129
查看次数

碳4.2上的WSO2 ESB - 在部署处理程序'POXSecurityHandler'时未找到所需的阶段'传输'

我是WSO2 ESB的新手,想尝试一些外部集成.我安装了WSO2 Carbon 4.2服务器并安装了ESB功能4.8.1.重启后,我收到如下错误.任何提示或建议将被感激地接受.

谢谢.

[2014-03-06 10:01:08,521]  INFO {org.wso2.carbon.mediation.initializer.ServiceBusInitializer} -  Initializing Apache Synapse...
[2014-03-06 10:01:08,525] FATAL {org.wso2.carbon.mediation.initializer.ServiceBusInitializer} -  Couldn't initialize the ESB...
org.apache.synapse.SynapseException: The synapse.xml location ././
        ./repository/deployment/server/synapse-configs
    /default doesn't exist
    at org.apache.synapse.SynapseControllerFactory.handleFatal(SynapseControllerFactory.java:121)
    at org.apache.synapse.SynapseControllerFactory.validatePath(SynapseControllerFactory.java:113)
    at org.apache.synapse.SynapseControllerFactory.validate(SynapseControllerFactory.java:88)
    at org.apache.synapse.SynapseControllerFactory.createSynapseController(SynapseControllerFactory.java:44)
    at org.apache.synapse.ServerManager.init(ServerManager.java:102)
    at org.wso2.carbon.mediation.initializer.ServiceBusInitializer.initESB(ServiceBusInitializer.java:423)
    at org.wso2.carbon.mediation.initializer.ServiceBusInitializer.activate(ServiceBusInitializer.java:182)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
...
...
...
[2014-03-06 10:01:08,531]  INFO {org.wso2.carbon.rule.kernel.internal.ds.RuleEngineConfigDS} -  Successfully registered the Rule Config service
[2014-03-06 10:01:08,553] ERROR {org.wso2.carbon.security.internal.SecurityMgtServiceComponent} -  Failed to activate SecurityMgtServiceComponent
org.apache.axis2.phaseresolver.PhaseException: Did not …
Run Code Online (Sandbox Code Playgroud)

esb wso2 wso2carbon

5
推荐指数
1
解决办法
1186
查看次数

gsutil - 使用联合用户 AWS 密钥时出现 cp、rsync 问题

我正在尝试从 AWS S3 到 GCP 存储的简单 rsync(或 cp)。例如

gsutil rsync -d -r -n s3://mycustomer-src gs://mycustomer-target
Run Code Online (Sandbox Code Playgroud)

在 GCP 上的 VM 上尝试此操作时,我收到如下错误消息。请注意,如果我在 VM 上安装 aws cli,那么我可以很好地访问/浏览 AWS S3 内容。AWS 凭证存储在 ~/.aws/credentials 文件中。

Building synchronization state...
Caught non-retryable exception while listing s3://musiclab-etl-dev/: AccessDeniedException: 403 InvalidAccessKeyId
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>InvalidAccessKeyId</Code><Message>The AWS Access Key Id you provided does not exist in our records.</Message><AWSAccessKeyId>ASIAJ3XGCQ7RGZYPD5UA</AWSAccessKeyId><RequestId>CE8919045C68DEC4</RequestId><HostId>i7oMBM61US3FyePJka8O+rjoHSo1rIZbRGnVZvIGkjEVPh6lXdbp03pZOtJ68F3pPdAAW1UvF5s=</HostId></Error>
CommandException: Caught non-retryable exception - aborting rsync
Run Code Online (Sandbox Code Playgroud)

这是 gsutil 中的错误吗?任何解决方法或提示表示赞赏。

注意 - 客户的 AWS 账户是为联合访问设置的,需要使用使用类似于此的脚本获得的 AWS 密钥 - https://aws.amazon.com/blogs/security/how-to-implement-a-general-solution -for-federated-apicli-access-using-saml-2-0/ 当会话令牌过期时,AWS 密钥设置为过期。 …

amazon-s3 amazon-web-services google-cloud-storage gsutil google-cloud-platform

1
推荐指数
1
解决办法
514
查看次数