I'm fairly new to working with Oauth 2.0, and the place I'm interning asked me to create an app that is runnable from the console and uses the OAuth 2.0 Password grant. I'm really stumped as to where to start in general. I'd like to write it in either C# or java.
I'd like the app to run once every 24 hours and in extend to that, to run it from powershell using something like run myProgram.exe
The app needs to use webhooks to call the API.
- How do I approach this? I'm using Visual Studio 2019.
- What kind of project should I create?
I've tried reading a lot of documentation, and know how to do the most of it on paper, but I found the documentation for the initial steps lacking.
Hope you'll be able to help :) Thanks!
Edit:
I realize the question might have been a little too broad.
Essentially, I'd like know if I can create a serverside-web app, without any UI only console-output, that:
- connects and gets an accesstoken from the authentication server,
- Makes the API-calls
- Can be converted to a .exe-file.
Hope that clears it up a bit :)