Adobe I/O - Creating Access Token (3rd Party Vendor) | Community
Skip to main content
Level 3
September 16, 2020
Solved

Adobe I/O - Creating Access Token (3rd Party Vendor)

  • September 16, 2020
  • 2 replies
  • 4257 views

Hello, 

 

I have a situation where a 3rd Party Vendor is in charge of my clients Website. I set up an Order Confirmation and Password Reset Event for Transactional Messaging in ACS. The 3rd party vendor will be providing the data identified in the Event that populates the ctx. Here's what I've done so far

 

1) I create a project in Adobe I/O to generate a JWT Token. I understand this token is to be used in order to generate the Access Token

2) I was able to create and test the Events/Transactional Messaging and send myself the emails. 

 

However, here is where I run into problems. I understand the Access Tokens are only good for 24 hrs and must be refreshed - however, I can't find any documentation that would explain how to refresh the token daily, other than manually logging into the Adobe Console UI, and going through the steps to generate that JWT and Access Tokens. 

 

There's got to be a way for a 3rd Party to gain access via script, where they would use the Private Key (I've provided it to them) to generate the token, then use the Token to generate the Access Token. 

 

My other question is, am I even using the correct service for this process? Should I be using OAuth or API Key authentication? 

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

Hi,

Thanks

David

2 replies

DavidKangni
Community Advisor
DavidKangniCommunity AdvisorAccepted solution
Community Advisor
September 17, 2020

Hi,

Thanks

David

David Kangni
Sukrity_Wadhwa
Community Manager
Community Manager
September 24, 2020

Hi @holmes74338504,

Were you able to resolve this query with the given solution? Do let us know.

Thanks!

Sukrity Wadhwa
Level 3
September 24, 2020
Yes I was. Unfortunately - having issue with the 3rd party in getting them to understand how to implement the process. They are trying to use the Java Script process outline in some documentation I found, and they're getting an Error Response Code while generating the access token with the JWT token: {"error":"invalid_client","error_description":"invalid client_id parameter"}. Trying to work with them to walk through the process again, as I believe they aren't using the correct information in the Client ID and Secrect Key fields. Do you have any thoughts>