Welcome Guest, Not a member yet? Register   Sign In
Community Auth for mobile login
#7

(01-24-2016, 10:10 AM)skunkbad Wrote: Commits on Community Auth for CI3, made last night and this morning, now show a working example of AJAX type login. Please take a look at it, as it will probably show you what it takes to make the login work for the older version of Community Auth.

One thing that I'm wondering is about the level of trust that you have when doing something on a successful AJAX login. For instance, if the login was good, you would have your JS do something, but what's keeping the site visitor from just opening up their console and doing the same JS manually?

I know in your case you would have an app, and it may not even be JS you are dealing with. Hope these commits help you.

Once the app receives an appropriate json response it would display the data requested. For example on login the app would display a user dashboard. Functions in the dashboard will call various functions in the mobile controller, each function will need to verify the user is logged in.
Reply


Messages In This Thread
Community Auth for mobile login - by escaperadius - 01-23-2016, 09:56 AM
RE: Community Auth for mobile login - by skunkbad - 01-23-2016, 12:08 PM
RE: Community Auth for mobile login - by skunkbad - 01-23-2016, 06:44 PM
RE: Community Auth for mobile login - by skunkbad - 01-23-2016, 09:45 PM
RE: Community Auth for mobile login - by skunkbad - 01-24-2016, 10:10 AM
RE: Community Auth for mobile login - by escaperadius - 01-25-2016, 10:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB