Migrate from JWT to OAuth V2 (Server-to-Server)
How to migrate your Adobe Analytics API credentials for the Component Manager from JWT to OAuth.
JWT is going out of business, and you need to migrate
JWT API Credentials will no longer be supported after Januar 27 2025. Starting June 3, you can no longer create new JWT credentials, only OAuth V2 (Server-to-Server). See Adobe's deprecation timeline and more details here.
The Component Manager will support JWT credentials as long as Adobe does (Jan 27, 2025), so you don't need to change to OAuth right away.
If your Component Manager account previously had JWT credentials, you need to eventually migrate them to OAuth V2. This guide shows you how to do that:
Go to developer.adobe.com -> Projects and open your Component Manager Project
Click on "Go to credential" in the blue popup (or click on "Service Account (JWT)" below).
Click on "Add new credential":
After confirming, you should see "Step completed" in green. Click on "OAuth Server-to-Server" on the left side.
Scroll down to review your new OAuth V2 credential. Note that Client ID, Secret, Tech ID, Tech E-Mail and Org ID stay the same as with JWT! The only new thing are the Scopes and the Credential Name. For our migration, we only need the Scopes.
Now go to your Component Manager Google Sheet and click on Extensions -> AA Component Manger -> Setup
The first question is now for the Scopes. Copy the Scopes from the Credential Details page shown under point 5 above and paste them:
If you do not provide Scopes, the Component Manager assumes you are still on JWT and will ask for JWT-related credentials like Tech ID and Private Key.
You can then click OK for all the next steps because neither your Client ID, Secret nor Org ID should have changed. You won't be asked for the Tech ID and Private Key, because they are not needed for OAuth V2.
With JWT, you needed the credentials plus the private key to do anything. For OAuth V2, Scopes, Client ID, Org ID and the Secret are enough. That is why we no longer store the Client Secret in the sheet's "config" tab, as that would give anyone with access to the sheet all the credentials to query your Adobe Analytics API:
After going through the rest of the setup as usual, you should finally receive a success message on the bottom right when everything has been completed.
You should now also see your scopes at the bottom of the "Other Settings" columns:
We recommend you go to the Developer Project page now and delete the JWT credentials to avoid confusion later (and all those reminder e-mails from Adobe 😆).
Struggling? Found a bug?
Please don't hesitate to reach out to us via our Contact options or via component-manager[at]datacroft.de.
Last updated