I have configured an Authentication profile with Authorization code grant type. provided all the required details in the rule Client id,Cient secret, Auth code end point, Auth token end point, redirect URI. But when we are testing getting an error "Could not get fresh access token".
I don't see any entries are getting saved to "Data-Admin-Security-OAuth2-AccessToken" table.
I don't see any error logs related to this authcode and authtoken.
So When exactly auth token gets generated using auth profile? How can we debug this authtoken generation to see where it is failing?
***Edited by Moderator Marije to add Capability tags***