AJO Custom action integration with Oauth2.0 eloqua | Community
Skip to main content
Level 3
April 10, 2023
Question

AJO Custom action integration with Oauth2.0 eloqua

  • April 10, 2023
  • 1 reply
  • 2835 views

Hi,

 

I am trying to integrate the eloqua Oauth2.0 using custom action inside AJO. I got two approaches,

 

1. Use autorization_code method. Here I need to hit authorize endpoint to get the code which can be used in another endpoint to get the access token. This doesn't look feasible to use inside the custom action.

 

2. Use of password as grant type. This works well but the issue is the authorization can be made only once per 60 seconds which if I use inside the journey only one profile works remaining all goes to error path due to this configuration.

 

Anyway possible to overcome this issue.

 

Thanks in Advance.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Anuhya-Y
Community Advisor
Community Advisor
April 10, 2023

@ikmoo 

You can use custom authentication to generate access token. I worked on custom action integration with SFMC, calling access token end point  and then using the access token in the main end point.

Check out  https://medium.com/@anuhyareddy.y/ajo-jo-sending-email-delivery-via-3rd-party-marketing-automation-tool-sfmc-bef8cc7d7e10  

IkmooAuthor
Level 3
April 10, 2023

Hi Anu,

 

Thanks for the response. I have already tried the custom authentication method and configured it . I am able to hit the endpoint and get the access token but the problem is every time system try to hit the endpoint it throws error that it has reached the limit.

 

I am using following method,

POST https://login.eloqua.com/auth/oauth2/token
Authorization: Basic Q09NUEFOWVhcdXNlcjE6cGFzc3dvcmQxMjM=
{
"grant_type":"password",
"scope":"full",
"username":"testsite\\testuser",
"password":"user123"
}

 

Tried via postman and got this error

 

So if I use it inside journey only one profile is able to trigger while other profiles are getting into error path as it tries to auth everytime . Any idea on this ?

IkmooAuthor
Level 3
April 12, 2023

Hello @ikmoo 

 

Are you using the same Oauth credentials in some other integration?


Hi @_manoj_kumar_ 

 

No this is the only place from AEP where I am using this.