Hi Team,
I am getting migration mail for a project AdvancedNetworkingSMTP, which is currently using JWT token. This project is using for sending the emails.
Now I have gone through the document provided by Adobe for migration.
But my questions are
1. After migrating how can I test now my application is using oAuth server-to-server for creating tokens ?
2. Do I need to make changes in codebase also ?
3. Is there any tab inside project in developer console mode where I can check the token created is by oAuth server-to-server or by JWT ?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @AkshaySwamiii, great questions -
After you start the migration, you can generate access tokens using both JWT and OAuth Server-to-Server credentials. The idea is that you will change your application code to generate tokens using the OAuth Server-to-Server credentials.
Once you make the changes in your codebase, you can test your application to see if it's working correctly and deploy it to your production environment. At this point, your code will ideally be using OAuth Server-to-Server credentials to generate access tokens.
To confirm so, go back to your project and click on Review and Delete. This will launch a modal that tells you when your old and new credentials were last used.
Hope this helps
Thanks
Manik
Views
Replies
Total Likes
Hi,
If you have admin rights you will be able to see here: https://developer.adobe.com/console/projects all the projects that are using JWT tokens with a red warning label.
Hope this helps
Views
Replies
Total Likes
Hi @EstebanBustamante
I have the developer console access. Kindly go through my question once again and then give me related suggestion.
Thanks
Views
Replies
Total Likes
Sorry, I missed those questions, @AkshaySwamiii. I didn't notice them—did you update your question? In any case, I think @tmj has already covered everything.
Once you generate the OAuth token, you just need to find the place in your code where authentication is done using JWT and replace it with the new token you generated.
Views
Replies
Total Likes
> Once you generate the OAuth token, you just need to find the place in your code where authentication is done using JWT and replace it with the new token you generated.
Yup, thanks for the clarification
Views
Replies
Total Likes
Hi @AkshaySwamiii, great questions -
After you start the migration, you can generate access tokens using both JWT and OAuth Server-to-Server credentials. The idea is that you will change your application code to generate tokens using the OAuth Server-to-Server credentials.
Once you make the changes in your codebase, you can test your application to see if it's working correctly and deploy it to your production environment. At this point, your code will ideally be using OAuth Server-to-Server credentials to generate access tokens.
To confirm so, go back to your project and click on Review and Delete. This will launch a modal that tells you when your old and new credentials were last used.
Hope this helps
Thanks
Manik
Views
Replies
Total Likes
Hi @tmj
thanks for your detailed reply.
One more question, what are the changes I need to do in my codebase ?
Views
Replies
Total Likes
You're welcome! So, your codebase must be generating access tokens using a JWT credential. You need the access token generation logic to use an OAuth Server-to-Server credential instead.
See the implementation guide.
Thanks
Manik
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies