0

Since I am making an android application that has its own mysql database in my server, how can I map the user of wirecloud with the user of my own database? The point of this is to recognize which user is consuming a widget deployed on the wirecloud.

I suppose that Wirecloud uses mongo db?

Vrankela
  • 1,162
  • 3
  • 16
  • 39

1 Answers1

0

The best way for mapping the users of WireCloud with the ones of you own database is the use of a single authentication source.

WireCloud is based on Django so you can use any of the method supported by it for customising the authentication. This include the use of third-party modules (e.g. django-auth-ldap for authenticating using a LDAP server) and the use of the integration with the FIWARE IdM provided by WireCloud.

It's technically possible to make WireCloud use your database directly, but I don't recommend you to do that because will be a pain to maintain such integration. In my opinion, the best options are migrating your app for using the FIWARE IdM or creating a custom authentication backend for authenticating users using your database.

Álvaro Arranz
  • 2,015
  • 1
  • 13
  • 22