We should be using the email as alias and the email should also be used as login when
registering in the secured part. A registration should also trigger the creation of that
user / contact in the application.
Author can be left empty By the client and filled by the backend .
https://github.com/sebastienblanc/jboss-wfk-quickstarts/tree/push_and_sec... must
stay because the receiver must know who sends the message.
Envoyé de mon iPhone
Le 23 avr. 2014 à 13:35, Erik Jan de Wit <edewit(a)redhat.com> a
écrit :
Hi,
I was working on the aerogear-push-quickstarts for Cordova and was wondering what to put
for the alias on registration. The version that is there now has users that logs in and
contacts that are fetched. What seems to be missing is that everybody gets all contacts
instead of just mine (maybe that is fine), but users that sign up for the app are not
contacts. So when I want to send a message to a specific mobile user they are not in my
list and there is no way to have to define an alias to send to.
Also the interface for sending push notifications includes a author. I think it would be
better if we remove this and let the service put in the logged in user. That way you can’t
pretend to send a message like someone else.
What do you think?
Cheers,
Erik Jan
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev