Getting notifications in MUC with ejabberd and converse.js - ejabberd

I'm using ejabberd as xmpp server, and I'm trying to receive some notification from a multi user chat room when the user is not present at the chatroom , to accomplish this I've subscribed the user to the chat room, but at the end, on the frontend I use converse.js, there is no such notification.
The ejabberd endpoint get_subscribers returns the desired user. But as I said there is no notification in the client.

Related

Cannot send email using SMTP server through Office 365 with ADFS

I am trying to send an email using the smtp.office365.com server. It always return the same error:
5.7.57 Client not authenticated to send mail.
As far as I know, the problem is related with the fact that I'm working with ADFS. So I have previously federated my domain to work with Office 365. When I try to log in to Office, I'm redirected to the login page of my platform, which is fine.
Is there a way to send email using the Office smtp server when working with ADFS?
Not to my knowledge, you need to change the primary username to use your tenant domain rather than your federated domain. Then you'll be able to log in without ADFS.
We configured a single account for SMTP with just an Exchange Plan 1 license, and then set up internal SMTP relays using that account to transmit to O365. We then limit connections on that account to only known locations. Then we add SendAs permissions for that account to all the DLs/mailboxes that we need to send email from.

pidgine messages to all

ejabberd 16.01-2
client Pidgin 2.13.0 (libpurple 2.13.0)
I send message to all user if user is offline will not receive a message.
I want to send a message to everyone (mod_announce) via pidgin 2.13.0 (offline and online). Message to offline users is not saved.
mod_offline is running
auth_method: internal
If you send the messages using mod_announce, it depends the method you use:
This is sent only to online accounts: example.org/announce/online
This is sent to all accounts, online and offline:
example.org/announce/all
See https://docs.ejabberd.im/admin/configuration/modules/#mod-announce
I update ejabberd to 20.01 and all is OK now.

How to change approver for the request in OIM?

I need to update the approver user for some request in OIM? What is the best practices/solutions or APIs?
Go to
http://hostname:port_number/integration/worklistapp
hostname is the name of the host computer on which Oracle SOA Suite is installed
The port_number used at installation
Enter the user name and password.
You can use the preseeded user to log in as an administrator. If you have loaded the demo user community in the identity store, then you can use other users such as jstein or jcooper.
The user name and password must exist in the user community provided to JAZN. See Oracle Fusion Middleware Administrator's Guide for Oracle SOA Suite and Oracle Business Process Management Suite for the organizational hierarchy of the demo user community used in examples throughout this chapter.
Click Login.
Go to administrative task, search for the request, select the request and from left drop down select reassign. Provide the userID to whom request needs to be routed to. and click on OK.

Retrieve Openshift token when logging in with Keycloak

I am facing the following problem.
I have to log in users in Openshift using Keycloak and then these users should be able to use the Openshift API using a custom external Web GUI which I made.
When I log in, Keycloak returns a Keycloak JWT-token. But my problem is that with this Keycloak JWT-token I cant use the Openshift API, for that I need an Openshift token, which is a different token. I could get the Openshift token using an http request to -openshiftmaster-/oauth/authorize , But I don't wanna do this cause this second authentication would mean a second login screen for the user.
Is there a way, once logged in usingKeycloak and in possession of a Keycloak JTW-token, to get the Openshift token without having to authenticate again against Openshift with username and password?
You can set up keycloak as an open id provider. Link 2. Link 3.

Push notification on windows phone 8.1 from hub

I developed a window mobile phone 8.1 application and register that application to receive push notification under our company account, then i created a hub in windows azure account and copy that package id and secret id in that hub configuration section.
i created a channel using PushNotificationChannelManager then i registered the channel in hub in the application start up OnLaunched event. ( Windows phone 8.1 )
i created a notification hub client and pass the toast template variable in SendWindowsNativeNotificationAsync method. ( Console application )
You could perform NH registration only for registered users, so only registered users would receive notifications.
It is also possible to perform NH registration via backend (console application). Obviously, to do that your device application should get channel and then pass it to backend somehow (web services or similar). At this point you could enforce any authentication mechanisms, security checks, encryption or whatever you want before register channel in NH. The thing is only backend knows NH connection string, it is not exposed with client app and nobody else can create registration even using reverse engineering against device app.
Click configure tab on azure hub, and choose "Enable unauthenticated push notifications" and save, it works!