OAuth Client

Oct 21, 2015 at 3:10 PM
You have described here https://casablanca.codeplex.com/wikipage?title=OAuth%20Client usage of oauth client and provided some snippets here https://casablanca.codeplex.com/SourceControl/latest#Release/samples/Oauth2Client/Oauth2Client.cpp

I would like to know is it possible to authenticate without using browser window?
I want my app to authenticate in background mode and wondering are there any simple ways to use oauth client in such manner?

Oct 29, 2015 at 7:02 AM
Typically, if you need to authenticate in background mode, you will collect the auth token from the user beforehand and store it. Then, later, you can use the token while your app is in the background.

At some point, you will need the user's credentials. If you want to collect the credentials without a browser window (and provide your own user/pass prompt), you will need support from the OAuth API you're using.