We have set up a Workfront API App Client OAuth2 with Machine to Machine Credentials in our Preview environment. We use this to call /integrations/oauth2/api/v1/jwt/exchange route and authenticate our API integration. This worked fine last week but after the weekly refresh to our preview environment we are receiving this response.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
not quite sure how you are doing this but is it possible that whatever your credentials are, only exist in the sandbox? If so, it's working as intended (probably?). We usually generate credentials in the production environment and then wait until the refresh and the credentials show up in the sandbox after this.
Views
Replies
Total Likes
OK that's interesting. We are creating separate credentials in sandbox, preview and production. Each from different service accounts. We don't want our preview environment to have the same credentials as production because we don't want those credentials to have access to modify production resources.
Views
Replies
Total Likes
If I'm understanding you correctly, I think you will find that whichever service account you set up in production (last week) will now be in preview and whatever you have set up for authentication in production, will work in preview. (that's my guess)
Views
Replies
Total Likes
I don't think OAuth Apps and Client credentials are synchronized. For example, I just tested my prod API credentials are not authenticating to preview.
Nor do I want them to be. I don't think API credentials from a non-production environment should have access to a production environment - breaks least privilege best practices.
Views
Replies
Total Likes
Views
Like
Replies
Views
Likes
Replies