Integrate with already existing Users table - yii2

I have an application where users can login, I would like that existing users will be able to login in Wekan. How I can implement this ?
Is there an available an LDAP login or similar ?
Thanks.

Related

Ejabberd- set vard for other user

Is it possible to add a vcard for some other jabber user in ejabberd. I am logged in as admin#domain.com. While creating users in my website i am registering a jabber account for the same user. Now i need to add vcards for those users. While trying to add vcard for a new user, i can see that the vcard entry is added to the currently logged in user(in my case it is admin#domain.com). I am using strophe library and the code used for adding vcard is as follows.
iq = $iq({ type: 'set', to: 'user#domain.com' }).c('vCard', { xmlns:'vcard-temp' }).c('PHOTO').c('EXTVAL', 'http://image_url/image.jpg');
conn.sendIQ(iq);
But i can achieve the same using
ejabberdctl set_vcard jabber_id domain PHOTO img.jpg from CLI
The purpose is to add profile images to users. I have the profile images saved in my server for each users registered in my site. Currently i am doing an ajax call for fetching the user profile image. Is there any alternative for this? Any help will be really appreciable.
XMPP protocol does not define a way to edit vcard for other users and ejabberd does not implement something special to allow this.
You can use a database backend for Vcard or write a custom Vcard backend plugin to suit your needs.

Create Keyrock users for WStore and WMarket

I'd like to programmatically create user accounts from our own app/api and got to the point I can indeed add users to my local Keyrock (a fork of Keystone) instance. Unfortunately these users remain useless because they get automatically logged out the moment they are successfully logged in.
Can anyone let me know what are the minimum user account properties needed to successfully login a user to WStore?
TIA, Edoardo
This question is the same than the one posted on https://ask.fiware.org/question/441/programmatically-create-keyrock-users-for-wstore-and-wmarket-etc/. Please, let's continue there.

Relating Users with Facebook Login and Parse.com

I want users in an app that I am thinking of creating to have a default image upon signing up/logging in, so integrating Facebook Login makes sense. But, I also want to have a way to relate users and have them be "friends" on my app.
How would I implement such a functionality with Parse.com as my backend? The only way I can currently think about implementing friends using parse is by the username. But, if my users log in with Facebook, they will not have a username for my app.
Thanks in advance.

How should I managed a database for register/log in with Facebook & Twitter

I am creating an iOS App which the user will be able to login to via his account with our website (internal), or via Facebook or Twitter.
What I would like to know is how should I manage the database in order to verify his Facebook / Twitter account with his internal account on my website?
I.e When the user logs in via his internal account, I just run a simple authentication check to see if his username and password are valid. However with Facebook and Twitter, I obviously can't do this as I don't have access to the user's password.
Thanks in advanced.
my suggestion is that you would create a new table for each of the login types and connect it to your users/members table.
for example - for facebook login you would have a facebook_users table to hold the user's data (such as name, pic and most important - fbid)
than add a column named facebook_user_id to your existing members table.
in order to get the logged user from facebook you don't need to access his password... you should use the Facebook JS SDK and specifically the FB.getLoginStatus and FB.login function...
offcourse my suggestion is only one of many applicable ways to accomplish the task
Save fbid instead of fb-login user_name (you can keep both) of the user in your internal login table - A unique mapping exists (I'm sure something similar exists for twitter as well). Why do you need fb password for it?
Moreover, you run the check on internal table to authenticate user account, but when using login from fb or twitter, isn't the user already authenticated?

Magento backend customer creation not syncing with api_user table

Currently, if we create a customer in the admin panel / backend of our site, that customer is unable to login using the email address we used in creating the customer profile. Even after resetting the password using a custom and self -generated one.
I looked at the database and noticed that customers’ emails that sign-in through the front are placed in the api_user table and customers created in the backend are placed in the customer_entity table.
Anyone know why this is? Is it a latency from 1.3.2 and is hiccuping from our upgrade to 1.4.0.?
Thanks again for any and all help.
Well dibbly do. I solved this issue by going into:
Configuration > Customer Configuration > Share Customer Accounts > Global
Then, in the backend admin account creation I made sure to select the proper store for the customer being created.