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

AJO Custom action integration with Oauth2.0 eloqua

  • April 10, 2023
  • 1 reply
  • 2815 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
New Participant
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
New Participant
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 ?

Anuhya-Y
New Participant
April 10, 2023

Looking at the error message, I believe it should be fixed from Eloqua end. Please reach out to Eloqua team.