Esta conversa foi bloqueada devido à inatividade. Crie uma nova publicação.
Nível 1
Nível 2
Faça login na Comunidade
Faça logon para exibir todas as medalhas
Esta conversa foi bloqueada devido à inatividade. Crie uma nova publicação.
I followed the steps as per the article "Integrating with Salesforce" to integrate CQ5 with salesforce, but I am getting the error "Error in Getting Access Token".
"maruthid" also faced this issue and raised his question in "Integrating CQ and salesforce and possible options" on December 30, 2013, but didn't get any response.
Please help me if someone knows a solution for this. Your help would be greatly appreciated.
Solucionado! Ir para a Solução.
I was not getting the same error as you, but I checked my settings for a test app I had created, and found that I would get an "invalid_grant" error in Cloud Services configuration with some OAuth Scope configurations set for my test app.
One of these two configurations seemed to be required for it to work and connect properly into AEM (or into anything else).
[img]api-access.png[/img]
[img]full-access.png[/img]
You can certainly select more (even all) of the available OAuth Scopes, and it should continue to work (it did for me).
Let us know if that works for you. Assuming it does, we can get the documentation updated to be more clear about what minimum OAuth Scopes are required.
I was not getting the same error as you, but I checked my settings for a test app I had created, and found that I would get an "invalid_grant" error in Cloud Services configuration with some OAuth Scope configurations set for my test app.
One of these two configurations seemed to be required for it to work and connect properly into AEM (or into anything else).
[img]api-access.png[/img]
[img]full-access.png[/img]
You can certainly select more (even all) of the available OAuth Scopes, and it should continue to work (it did for me).
Let us know if that works for you. Assuming it does, we can get the documentation updated to be more clear about what minimum OAuth Scopes are required.
Have you added the instanceUrl in the configuration node. Also OAuth scope should include refresh_token in your SF App.
Regards
Visualizações
respostas
Total de curtidas
Thanks for your response. I tried the configurations as you suggested but no luck. Getting the same error.
Visualizações
respostas
Total de curtidas
HI,
I have IP relaxation and selected all scope in Connected APP. but still getting Invalid_token error
{"error":"invalid_grant","error_description":"expired authorization code"}
You got working with Any AEM version?
Visualizações
respostas
Total de curtidas
Visualizações
Curtida
respostas
Visualizações
Curtida
respostas
Visualizações
Curtida
respostas
Visualizações
Curtida
respostas