is there an example of API Rest authentication based in private/public key with web2py??
i don't want use username and password tokens for each request
--
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 web2py+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/lXfe0tpGi8U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
I'm a big RFC6749 fan
Quite simple; and you can implement your own custom grant for e.g.: higher security using x509 certificates.
Samuel Marks
http://linkedin.com/in/samuelmarks
thanks Marks, i'm using phonegap(android, iOS) as my client and angularjs consume the API Rest.
x509 its grate but, work x509 on app engine ?, or what do you think about use Oauth 2.0 ?
2014-04-25 21:41 GMT-05:00 Samuel Marks <samue...@gmail.com>:
Sure, take a look at x509 at http://web2py.com/books/default/chapter/29/09/access-control
On Sat, Apr 26, 2014 at 12:33 PM, samuel bonill <pytho...@gmail.com> wrote:
is there an example of API Rest authentication based in private/public key with web2py??
i don't want use username and password tokens for each request
--You received this message because you are subscribed to the Google Groups "web2py-users" group.
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)
---
To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscribe@googlegroups.com.
--
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 a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/lXfe0tpGi8U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+unsubscribe@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
Yes Christian, I'd like take a look...
To unsubscribe from this group and all its topics, send an email to web2py+unsubscribe@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
I'm a big RFC6749 fan
Quite simple; and you can implement your own custom grant for e.g.: higher security using x509 certificates.
User credentials grant flow with expiring and manually invalidatable tokens (I implemented it as logging out from one device logs you out everywhere)
Samuel Marks
http://linkedin.com/in/samuelmarks
How do you save API authentication credentials on a phonegap application? How do you prevent people from stealing them?
--
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 web2py+un...@googlegroups.com.
$http
.post('/default/api/users', $scope.user)
.success(function (data, status, headers, config) {
$window.sessionStorage.token = data.token;
$scope.message = 'Welcome';
})
Oh the users themselves login. I was interested in knowing if you had a solution to store API tokens, the same way you need to store API keys for google and facebook as right now I don't see how I can safely put them in the mobile app and I have to use my server as a middlemen. The point also being to prevent other people from using your API.
--
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 a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/lXfe0tpGi8U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
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 web2py+un...@googlegroups.com.