I want to use RingCentral for sending messages. For I will have various accounts, I chose public application Auth-code flow. I am using the functionality for desktop application, I have researched the way to get auth-code is through browser on which I will login with my ringcentral account then will allow access permissions and then it will return the auth-code in the callback url response that I have passed while making request for it.
It is inappropriate for my desktop application to open up browser and making all my accounts user to follow the steps to allow access. Is there anyway through code that this process runs in background and user will automatically get the auth-code once I access the api for it.
I am stuck. Please help!