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.
Related
Suppose i've already made a Dynamic page using sessions in servlet that generates a user login page and in that account if User has uploaded paper in his own account, after he logs in again , that should be there already.
How can we stored image in database, and how can we transfer image to another account also known to be reviewer that gets to be review the paper uploaded by user
in his account.
How can this be possible, Anyone please help me, Because i have no idea, i am studying Servlets right now. Please Help. Thanks
I'm looking for some help. I am about to delve into something I am relative new to. I am am trying to create a system for my app where a user can create an account and login and once they have done so it uploads an array to a database so that the array can be retrieved by other users.
I understand that this is kind of complicated, but I'm sure somebody has experienced this issue before. I have read about mysql but I'm not sure if when the user creates an account, that I can upload the array and it can be accessed by other contacts.
If someone could give me links to tutorials that you found helpful then it would be greatly appreciated.
Pseudo code would be:
User 1 creates account.
User 1 logs in.
App uploads array to users account stored online.
When user 2 logs in (assuming he has created an account)
He adds the first user as a contact of app.
He downloads the array of user 1 and uploads his array
Is there a way to create an external user account under an enterprise account silently, where there is no accept/email invite needed?
Use Case:
User becomes a member of our web site, we call API and provision grant them silently which creates an external user under our enterprise account.
Any code axample? Silently and without invite is the key thing here. Thanks!
There isn't a way to do this. The user doesn't have a password at creation time and needs to set one by going to the website via the email confirmation link.
Could you perhaps explain why you don't want the email to be sent, and what your user workflow looks like?
I have three websites: a.example.com, b.example.com, and c.net. Each was built a couple years after the other and all have their own users table.
I want to integrate these sites together so that I can login with a single username/password combo and have access to all three sites just by clicking links without having to login again.
I've never done an integration like this before, so looking at two angles:
1) Create another website, 'd.net' where new accounts can be created. If you login to one of the original three sites, it asks you for your d.net account. If you dont have one it asks you to make one. In your 'account settings' on d.net, you can 'add sites' to your account by entering your old username and password for them. Sound reasonable?
2) Solving the technical problem of being able to one-click login to another of the three sites if i'm already logged into d.net. Afaik, cookies with a session ID can't be shared across domains. So... maybe generate a token and save it to the database. Send token over GET to another website, which can check the token, log the user in, and then delete the token. Sound about right?
Have you looked at OpenID?
http://en.wikipedia.org/wiki/OpenID
Don't have to re-invent the wheel.
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?