madagaga / WTalk

GTalk like client
MIT License
20 stars 10 forks source link

[Feature-Request] Implement OAuth2 #3

Closed thecodrr closed 8 years ago

thecodrr commented 8 years ago

I think this will take a lot of testing and time but this is necessary. Not every user can use the manual kind of authentication which is now implemented. This will do all the steps automatically, the user will just have to put in the username and password.

Documents for help: Hangish has it implemented (it's C++): OAuth2 With a little time, I can try and port it.

There are many libraries for OAuth2 like DotNetOpenAuth which can help in this process.

madagaga commented 8 years ago

Google provides a .net library to authenticate on their server. I didn't use it because I just need oauth and the lib is fat as it handle all the services.

You're right, it would ne cool to have a integrated process.

If you look at the source there is a screen which was created for this, but I didn't implement all yet.

madagaga commented 8 years ago

I'll take a look on hangish implementation. I've seen all hangups forks but I looked the hangout part only not the auth.

thecodrr commented 8 years ago

Yes, you are right. The AuthWindow is declared but not implemented completely.

madagaga commented 8 years ago

Oauth is now integrated in a windowed webbrowser.

thecodrr commented 8 years ago

Let's see what you have done.

thecodrr commented 8 years ago

This is better than expected! Well done!