C
C#12mo ago
PatrickG

Can a console APP use a OAUTH 2 REST API?

My boss wants me to make a console app that will basically sync data between ZOHO CRM and a datawarehouse database we have. I have done similar projects with other sources of data so I thought it wouldnt be too bad. But what im reading and what im seeing it might not even be possible. First on zoho, when you create a client application it keeps asking for a domain and URL which my console app wont have. Then from what I read OAUTH2 requires a callback url where it sends the token or i dont know what back to.... so yea am I wasting my time or is it something thats possible?
6 Replies
Angius
Angius12mo ago
deep linking Register your own protocol and use it as callbacl myapp://oauth-callback etc
PatrickG
PatrickGOP12mo ago
I have no idea what any of this means
PatrickG
PatrickGOP12mo ago
so i make a first console app that sends the authorization request and then it will open a 2nd console app that will receive the token?
Angius
Angius12mo ago
Or it can just reopen the current one Another way would be using HttpListener And listen on localhost:port
PatrickG
PatrickGOP12mo ago
well ive never wanted to quit my job so bad now
Want results from more Discord servers?
Add your server