for christmas i'm developing an intel-xdk app to send to all the users of my mybb forum.
The app need to authenticate the user, only registered forum users can login into.
a first way i thought is to add a php function into the website and call through ajax passing username & password. In this case i know how to implements.
just for learning i would like to know if there is a way to use all the existing server code.
can one intel-xdk authenticate one user over mybb forum? if yes what's the way?
Related
I want to make functionality on website if user share post or feed in his account of our website than i want to authenticate user for further process.
means i want to authenticate user after registration process if he share post on FB then he can login.
how it possible by email address or other thing. we takes unique email address for registration.
website is developed using core PHP. it is better if solution done using javascript or PHP.
for your time,
Thank you!
It is not possible to get a valid success response after a user shared something, or to know who shared something on his personal wall.
But what is more important: You are not allowed to allow users to login/authenticate only if he shared something on his personal wall.
Hello to the whole community. :)
I am currently working on integrating moodle for an e-learning platform. I have implemented most of the functionalities using web services (Javascript Client). But, unfortunately, I find that the web authentication service does not exist.
I said to myself, for authentication at the level of my system without redirecting the user to moodle from the information in the moodle database, I retrieve the password from the login and I test with the data entered by the user but the concern is that the core_user_get_users and core_user_get_users_by_fields functions do not send me the password (encrypted) but just the other information.
Need your help !!
core_user_get_users and core_user_get_users_by_fields are, quite correctly, incapable of sending the user's password, because Moodle itself doesn't know what the user's passwords are.
Moodle only stores a one-way hash of the user's passwords - each time a user logs in, the hash of the password they entered is compared with that in the database and the user is allowed in, if they match. By design, it is very difficult (and time consuming) to start with the hashed password in the Moodle database and figure out the user's password.
If you need a mechanism for logging a user in to Moodle from your system, without them having to enter a password, then you should consider using a Moodle authentication plugin that supports Single Sign On - the standard Moodle authentication plugins are listed at: https://docs.moodle.org/en/Authentication, but you may find that there is a 3rd-party authentication plugin that helps you at: https://moodle.org/plugins/?q=type:auth (https://moodle.org/plugins/auth_saml2 is often a good place to start).
i cant find any simmilar to my question soo i want just to know if i can make a "login page" my own instead of the popup
this there a way?
My application is deployed on the cloud platform and goes trough a cloud connector to the sap backend system where it get his odata data from..
Its kinda ugly and i cant find anything to this.. except when the app is deployed in the abap repository.. but my is deployed and running trough the cloud platform.
(Username = SAP User and password also sap user pwd)
so maybe someone can help or paste an example
This pop-up is appearing for the logon to your ABAP backend system.
You can simply remove it by setting up Single Sign-On
I have a login page via WCF restful APIs. I am logging in and now the problem after logging in if user exits in the app and try to re open the app, the app doesn't want to ask the user for credentials by storing the previous credentials. It has to automatically redirect to the another page. Any ideas, suggestions? I'm using JavaScript and HTML & Cordova.
Take a look at this answer
Cordova app with autologin feature
This answer is one of the best ways to implement autologin in hybrid apps, to me.
A very simple question which I've seen kinda answers to.
Can you do a facebook login with PHP to authenticate a user and grab information?
Why then is there a JS version?
I just don't understand the difference between the two above options.
My web app will need to gleen the users email address as there will be a mailing list component to signing up for our service.
How do you manage this local information and uniquely identify the user each time they log in from facebook? Do you store their facebook ID?
Thanks
1- Yes - https://developers.facebook.com/docs/reference/php/
2- So you can do it on the client side.
You can get user's email address if you have appropriate permissions.
Yes you store their facebook id and associate users with it.
They both do the same thing, just on different sides: on the server or on the client.
If your authentication process relies heavily on server interaction and you have your server side code ready, use the PHP SDK. It provids you with methods to get the ID from the user. This will be unique so you can store them.
If you want to manage an application flow, say the user needs to give your website certain permissions in order to view something, it can be easy done with the Javascript SDK.