To have a webapp that generates a Jabber account, a XMPP WebID certificates with that Jabber account and a client that uses that certificate, you will have to:
About XMPPWebID
Creating certificates with python-xmppwebid
Enter search terms or a module, class or function name.