Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

do libstrophe support X-MESSENGER-OAUTH2 SASL mechanism ? #25

Open
DeepakDuggal opened this issue Jul 2, 2012 · 1 comment
Open

do libstrophe support X-MESSENGER-OAUTH2 SASL mechanism ? #25

DeepakDuggal opened this issue Jul 2, 2012 · 1 comment

Comments

@DeepakDuggal
Copy link

hi,

i am developing a chat client for connecting to msn.
the problem is that msn allows only X-MESSENGER-OAUTH2 SASL mechanism authorization and
in libstrophe ,(from what is have seen in the code) supports only plain and MD5.
can u please tell how can i implement it ??

thanks in advance.. :)

@metajack
Copy link
Owner

metajack commented Jul 2, 2012

i am developing a chat client for connecting to msn.
the problem is that msn allows only X-MESSENGER-OAUTH2 SASL mechanism authorization and
in libstrophe ,(from what is have seen in the code) supports only plain and MD5.
can u please tell how can i implement it ??

You'll need to find the docs for that mechanism (and note that since
it's OAuth2 you'll be needing to launch or prompt people to visit a
web browser). Then to add a new mechanism to libstrophe, add code to
auth.c for handling the new mechanism, and then change _auth() to
select set up those handlers when that mechanism can be used. See:
https://github.com/metajack/libstrophe/blob/master/src/auth.c#L454

For examples.

jack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants