I don't think it's possible. How would you manage to login using Google oAuth without using a browser?
Sorry, my question is probably not phrased very well. Its not that I'm not using a browser. I've seen examples where applications open a browser to allow the user to confirm access. My main concern is how can I use this system to authenticate on my own server.
So after Google has confirmed the user's identity, what information do I need to tell the main server that they can now access my database?
1. User ---> Login Server (User requests access under a certain username)
2. Login Server ---> Google (Login server "talks" to Google saying we need access to a specific identity)
3. Google ---> User (Google asks the user if they want to grant access to their info)
4. User ---> Login Server (User confirms and responds to the login server)
5. Login Server ---> Main Server (Login server tells main server this client is able to access the resource)
6. Login Server ---> User (Login server tells user the main server is waiting for them)
7. User ---> Main Server (Complete!)
I hope I got this flow right. If it is right, I have no idea how to implement it in c#. Especially steps 1 to 4.