Possible to create login system in app - smartface.io

I was wondering if it was possible to add a login system to my app so that you have to login in order to view the rest of the content.
I've tried making two fields for username and password and tried to use the Instagram API however it wasn't successful.
Thanks

Related

Facebook API to change password

I am doing a Facebook Interface that will allow user to login and view feed etc.
How do I let user to trigger a password change if need to be. I am currently using the access token after login by user for fetching the feeds etc.
However I don't see any API call for password change. Any idea which call to use or is it even possible?

Firebase-creating a user with facebook provider

As an admin I want to create a user with an email as a identifier.
I know that is possible by using firebase-admin 'create User'. The problem is that it is then only available through email/password provider, and I can not figure out how to add a Facebook provider when creating a user. Is it even possible?
I know also that I can link providers but for that user will have to login with email/password first anyway, which is not optimal.
So I want to create a user with an email identifier but accessible through facebook login (firebase).
How can I achieve that?
Creating Facebook users is currently not possible via Admin SDK. You can do so using the Firebase CLI SDK: https://firebase.google.com/docs/cli/auth#authimport

Allow a limited amount of users to login using FB login

In our organization we have a website that stores all our clients data. until recently this was hidden behind a htaccess file. This setup was primitive and I'm in the process of making it better.
My idea is that I want to have an account for everyone in the organization but I don't want them to register with a new username and password and just let them login using their facebook account.
So I was wondering if it would be possible to use the facebook login button but only let a certain list of people login? And if possible maybe some guidelines on how to do it?
Thanks in advance!

How to authenticate facebook user with username and password from an external website?

I am new to web development. My goal is:
- I have username and password for a facebook (FB) user.
- Now, I want to pass these credentials(via POST,GET or any other way...whatever) to FB to validate the user and if validated, save the user session.
- I read articles on oAuth and understood the idea. However, in that you need to create an APP on FB first and then you can use the APP Id and validate FB user. I do not want to create any APP on FB. I have a username and password and just want to pass it to FB some how and validate the user.
Let me know if this is possible? I work on C#.net/VS2008. However, if it is not possible in .net then please advise if it is possible in any other language/technology.
Thanks and regards,
AG
A user is not allowed per the policy to share its username and password, so what you are proposing is therefor also not allowed, and hence not made possible.

Facebook API OAuth security

I want to allow users connect to my website using their facebook account.
First, the user authorizes my application and then I get an access token. Problem is, that I'm supposed on the first time to register the user, and the next time to auto login him based on his facebook email.
How do I create a SECURE way to auto login the user?
I'm using pure javascript, but I can't find any way to create a secure mechanism.
Thanks.
Facebook should handle all that for you - when they come back to your website, they can click the 'login' button(javascript SDK) and facebook should pass you back an access token.
I may, however, have misunderstood the question.