I may have been misunderstood. I meant to ask, how can I have a user use *API keys* (API key + secret if needed) to access JSON-RPC instead of user login/pass.
Thanks. On Thursday, July 31, 2014 12:03:02 AM UTC+8, Michael Gheith wrote: > > From a high level view you can create an extra field in the auth table, > and put random keys in it as a default value for each of your users. Or > when someone signs up, they can automatically get assigned a random key > using the DAL default parameter in Field. So each user will have a unique > key. There are several methods to generate these random keys, you can > search for it here in the web2py group. Let me know if that makes sense. > > Best, > M.G. > > On Tuesday, July 29, 2014 4:45:47 PM UTC-5, lyn2py wrote: >> >> Hi guys, >> >> Creating an API (within my web2py app), and need to use a login that's >> not the user's login, hence the API key. How should I go about a bare login >> using API key? >> >> >> -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

