Oke. If it works it's oke. But lets say massimo, i want to communicate with the restful service from web2py from angularJS, i see 2 possible bottlenecks. I cant use the $resource function because the web2py api is api/product/id/3 and not api/product/3 and there is no way to authenticate with web2py from angularJS using something other than plain text basic_auth.
Am i right? Greetings, Stefan Op woensdag 26 augustus 2015 17:59:51 UTC+2 schreef Massimo Di Pierro: > > That logic was added and then removed from auth, under the assumption that > we would add support for JWT. > This is open for discussion. > > On Tuesday, 25 August 2015 08:37:15 UTC-5, Stefan van den Eertwegh wrote: >> >> Hi everyone, >> >> If i search on authentication for restfull API web2py i get basic auth as >> a result in google and google groups. >> Does anyone know how to use a token authentication for the Restfull >> service like db.auth_user.token ...? >> >> Thanks! >> > -- 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.

