Hi Tarek
This isn't exactly what you're looking for, but if you have some leeway,
you can instead try token authentication:
https://modules.prosody.im/mod_auth_token.html
I've used that a few times to integrate Converse with SSO into websites.
Another module you can look at is this one:
https://modules.prosody.im/mod_auth_http_cookie.html
It extracts the auth cookie from the request or websocket connection and
then authenticates with that.
Here's a list of all the authentication moduiles:
https://modules.prosody.im/type_auth
Regards
JC
On 12.08.20 22:08, Tarek S wrote:
Hello Guys,
I am planning to use converseJS and XMPP server in order to give
customers the ability to chat with the customer care team. The issue
is that I need to use a Single sign-on approach by sending the JWT
token from mthe web application (conversejs) to XMPP, where the XMPP
needs to reach out to auth0 server and validate that JWT token, and
authenticate users. For that, I think I need to create a plugin which
redirects all requests to auth0, and provides the callback url where
auth0 needs to authenticate users.
My questions are :
1- Did anybody had this kind of project, so I will not recreate the wheel.
2- is Luna the only scripting language to create prosody plugins?
3- Any help will be much appreciated.
Thanks
Sincerely,
Tarek
--
You received this message because you are subscribed to the Google
Groups "prosody-dev" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/prosody-dev/ff2164cd-c2dc-406c-91f9-a8785e91adb7o%40googlegroups.com
<https://groups.google.com/d/msgid/prosody-dev/ff2164cd-c2dc-406c-91f9-a8785e91adb7o%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to the Google Groups
"prosody-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prosody-dev/7617ece9-5c0a-d6c8-8609-e3efe1c7f1b9%40opkode.com.