Implementing OAuth from backend

Implementing OAuth from backend

We are working on integrating Zoho Books with our project's accounting service using a backend built with Java and Spring Boot. Our goal is to handle the OAuth process internally. We've implemented the OAuth logic within the getJournals API to generate the grant code and access token. However, during testing on Postman, we encountered an issue: Postman doesn't support JavaScript, so we are unable to redirect to the user consent page, and we're also facing CORS errors on Swagger. We are looking for a way to implement OAuth internally, as we cannot manually initiate the browser request to obtain the authorization code. Any suggestions would be greatly appreciated.